home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / DPTEST.ZIP;1 / README.1 < prev    next >
Encoding:
Text File  |  1993-02-11  |  114.6 KB  |  3,043 lines

  1.               Copyright WordPerfect Corporation 1992  
  2.                        All Rights Reserved.
  3.  
  4. README.1                                                       02/01/93
  5.  
  6. This file is in DOS text format and is approximately 65 pages long.
  7.  
  8. €  Introduction
  9.  
  10.           DataPerfect Test Drive introduces you to the DataPerfect
  11.           database program.  This diskette contains the same
  12.           powerful program as DataPerfect, but it limits the 
  13.           number of panels you can create to 4, and the number of 
  14.           records you can add to each panel to 99.
  15.  
  16.           By following the instructions in these README files,
  17.           you can learn the basics of designing, defining, and
  18.           using a database.  Because of the power and flexibility
  19.           of DataPerfect, not all features or applications of the
  20.           program can be covered in the README files.
  21.  
  22.           README.1 contains an overview of the DataPerfect
  23.           program, as well as lessons to help you become familiar
  24.           with using a database.  If you are not familiar with
  25.           DataPerfect, you should complete these lessons before
  26.           moving on to the lessons in README.2.
  27.  
  28.           README.2 contains lessons for defining a database.  The
  29.           database you create is called CLIENT, and is identical
  30.           to the CLIENT2 database included on the DataPerfect
  31.           Test Drive diskette.
  32.  
  33.           If you need help while using DataPerfect Test Drive,
  34.           press Help (F3) for information.  Pressing Help (F3)
  35.           twice will display an on-screen template of DataPerfect
  36.           function keys.  Pressing Help (F3) three times will
  37.           display a list of features and keystrokes.   Set the CONFIG.SYS File
  38.  
  39.           The CONFIG.SYS file lets you change your system default
  40.           settings.  DOS searches for this file in your root
  41.           directory each time you start your computer.  Your
  42.           computer does not require this file, so you may not
  43.           even have one at this point. 
  44.  
  45.           However, to run DataPerfect properly, you must have a
  46.           CONFIG.SYS file that contains the following commands:
  47.  
  48.                FILES=40 
  49.                BUFFERS=6
  50.  
  51.           The FILES= command represents the maximum number of
  52.           files that DOS allows to be open at the same time.  The
  53.           BUFFERS= command represents the number of buffers DOS
  54.           allocates in memory.
  55.  
  56.           In the following instructions, you first will check to
  57.           see if your computer has a CONFIG.SYS file that has the
  58.           correct commands.  You then will go through the process
  59.           of creating or modifying your CONFIG.SYS file. 
  60.           Additional information about the CONFIG.SYS file can be
  61.           found in your DOS documentation.
  62.  
  63.           1    If you start your computer from your hard disk type
  64.                cd\ at the DOS prompt and press Enter to change
  65.                to the root directory.
  66.  
  67.                or
  68.  
  69.                If your computer requires a startup disk, leave
  70.                the startup disk in drive A, type a:\ and press
  71.                Enter.
  72.  
  73.           If you get an error message, be sure you typed a
  74.           backslash (\).
  75.  
  76.           2    Type
  77.  
  78.                     type config.sys
  79.  
  80.                and press Enter.
  81.  
  82.           If a listing appears that includes a number equal to or
  83.           greater than 40 next to the FILES= command, and a
  84.           number equal to or greater than 6 next to the BUFFERS=
  85.           command, your CONFIG.SYS file is set to run
  86.           DataPerfect.    If more than one FILES= or BUFFERS=
  87.           command exists in the CONFIG.SYS file, the one nearest
  88.           the end of the file is used.
  89.  
  90.           If "File Not Found" appears, or if a listing appears
  91.           that does not include a number equal to or greater than
  92.           40 next to the FILES= command and a number equal to or
  93.           greater than 6 next to the BUFFERS= command,
  94.  
  95.           3    Type
  96.  
  97.                     copy config.sys+con config.sys
  98.  
  99.                and press Enter to append to the existing
  100.                CONFIG.SYS file, or to create a new one.
  101.  
  102.           Be sure that spaces appear in the proper places.
  103.  
  104.           If the file already exists, the words CONFIG.SYS and
  105.           CON appear on the screen.  If the file does not already
  106.           exist, only the word CON appears on the screen.
  107.  
  108.           4    Type
  109.  
  110.                     files=40
  111.  
  112.                and press Enter to add the command.
  113.  
  114.           5    Type
  115.  
  116.                     buffers=6
  117.  
  118.                and press Enter to add the command.
  119.  
  120.           6    Press F6 to include the code which ends the
  121.                CONFIG.SYS file (^Z).
  122.  
  123.           7    Press Enter.
  124.  
  125.           8    Turn off the computer, then turn it on again. €  Startup Options
  126.  
  127.           The DataPerfect Test Drive startup options are listed
  128.           below.
  129.  
  130.           /c
  131.           This option forces DataPerfect to use colors (for
  132.           example, dpt/c).  It may be necessary for some color
  133.           monitors.
  134.  
  135.           /d-directory
  136.           This option redirects the temporary files to the
  137.           specified directory (for example, dpt/d-c:\data\temp).
  138.           If you do not specify a directory, the temporary files
  139.           are stored in the default directory.  This option
  140.           overrides the redirection in the wpc environment
  141.           variable. 
  142.  
  143.           /p=panel number
  144.           This option moves you directly to the specified panel
  145.           without showing the panel list (e.g., dpt/p=3
  146.           customer).  It is only effective upon initial entry
  147.           into a database.
  148.  
  149.           /z=panel number
  150.           This option moves you directly to the specified panel
  151.           without showing the panel list (same as /p above),
  152.           however, when you exit the panel, DataPerfect exits you
  153.           to DOS rather than to the panel list.
  154.  
  155.           database name
  156.           This option moves you directly to the specified
  157.           database (for example, dpt customer).
  158.  
  159.   Multiple Options
  160.  
  161.           The above options can be used together on the same
  162.           command line.  If you include the database name, it
  163.           must be the last command on the line (e.g., dpt/c/d-
  164.           c:\data\temp/p=3/r customer). €  Starting and Exiting DataPerfect Test Drive
  165.  
  166.           The Install program copied the DataPerfect Test Drive
  167.           files into the DPT directory (unless you specified
  168.           another directory during the installation).
  169.  
  170.   Starting DataPerfect Test Drive
  171.  
  172.           When starting DataPerfect Test Drive, follow the
  173.           directions below for your system configuration.
  174.  
  175.           Hard Disk Drive System
  176.           To start DataPerfect Test Drive on a hard disk drive
  177.           system,
  178.  
  179.           1    At a DOS prompt, type cd\ and the name of the
  180.                directory that contains your database files (such
  181.                as, cd\dptest).
  182.  
  183.           2    Press Enter.
  184.  
  185.           3    Enter dpt to start DataPerfect Test Drive.
  186.  
  187.           To enter DataPerfect from a subdirectory that does not
  188.           contain the DataPerfect program files, you need to
  189.           include the subdirectory in the path or include a full
  190.           pathname (such as, c:\dpt) when executing the program.
  191.  
  192.           One or Two Disk Drive System
  193.           To start DataPerfect Test Drive on a one or two disk
  194.           drive system,
  195.  
  196.           1    Insert the diskette to which the Install program
  197.                copied the DataPerfect Test Drive files during
  198.                installation.  Then, at the DOS prompt, change to
  199.                that drive (such as, A: or B:).
  200.  
  201.           2    Type dpt and then press Enter to begin the
  202.                program.
  203.  
  204.   Enter a Database
  205.  
  206.           When you start DataPerfect, the database list for the
  207.           default or specified drive or directory is displayed.
  208.  
  209.           Three options appear in the instruction box:
  210.  
  211.                Create a New Database
  212.                Use this option to create a new database.
  213.  
  214.                Change Directory
  215.                Use this option to access a database which is
  216.                located in a different directory or drive than the
  217.                one displayed on the screen.
  218.  
  219.                Exit
  220.                Use this option to exit the database list.
  221.  
  222.           To access a database listed on the screen,
  223.  
  224.           1    Use the arrow keys to move the cursor to the
  225.                desired database.
  226.  
  227.           The databases are listed in alphabetical order.
  228.  
  229.           2    Press Enter to enter the database.
  230.  
  231.   Exiting DataPerfect Test Drive
  232.  
  233.           To exit DataPerfect Test Drive,
  234.  
  235.           1    Press Exit (F7).  Depending on where your cursor
  236.                is in the program, you may have to press Exit more
  237.                than once. €  What Is a Database?
  238.  
  239.           A database is a collection of information.  Databases
  240.           come in many forms, such as mailing lists,
  241.           encyclopedias, and card files.  These examples sound
  242.           very different, but they all share a common feature: 
  243.           they contain information which is sorted or indexed so
  244.           that it can be retrieved quickly.
  245.  
  246.           In a very simple sense, a computerized database can be
  247.           compared to files stored in a file cabinet.  There are
  248.           important differences, however.
  249.  
  250.           Suppose a doctor's office has records for all of its
  251.           patients in a file cabinet.  If the files are arranged
  252.           in alphabetical order according to last name, it is
  253.           simple to find the record for a given patient. 
  254.           However, if it is necessary to look up patients'
  255.           records by billing date, insurance company, or the last
  256.           office visit, things suddenly become much more complex.
  257.  
  258.           To arrange records by these other categories as well as
  259.           by last name would require many duplicate files.
  260.  
  261.           A computerized database lets you sort records in many
  262.           different ways.  Because of this, the doctor's office
  263.           could have one record for each patient, but be able to
  264.           look up that record by name, insurance company, last
  265.           date visited, and so forth, making record storage and
  266.           access more efficient. €  How Does DataPerfect Work?
  267.  
  268.           DataPerfect is a menu-driven database program which
  269.           does not require the use of a programming language. 
  270.           Like other database programs, DataPerfect uses files,
  271.           records, and fields to divide information into
  272.           manageable units.  Because of its relational nature,
  273.           DataPerfect lets you connect related files, allowing
  274.           them to share common information.
  275.  
  276.           Each file in the database has its own panel which
  277.           displays the records in that file on screen.  You can
  278.           view records one at a time in the panel, or you can
  279.           view many records by performing a lookup.  Each
  280.           database you design can contain up to 80 panels, each
  281.           representing a different type of record (DataPerfect
  282.           Test Drive limits the number of panels to four).
  283.           Panels can be indexed, related, and interrelated in a
  284.           variety of ways.
  285.  
  286.           Fields can be formatted differently, depending on the
  287.           type of information they will contain and the way they
  288.           are to be displayed and used.  There are formats for
  289.           dates, numbers, alphanumeric characters, and large
  290.           amounts of text.
  291.  
  292.           DataPerfect uses indexes to reference information, much
  293.           the same as a reader would use an index to find
  294.           specific information in a book.  You can define several
  295.           indexes for each panel in a database, so records can be
  296.           cross-referenced many different ways.
  297.  
  298.           To print information from a database, DataPerfect lets
  299.           you define reports by selecting fields from a panel.  A
  300.           report can include any or all fields from the panel for
  301.           which it is defined, as well as fields from any linked
  302.           panels.  A report can also include variables, computed
  303.           fields, and so forth, and can be sorted and formatted to
  304.           fit your specific needs. €  DataPerfect Terms
  305.  
  306.           To understand how DataPerfect works, you should be
  307.           familiar with a few basic terms.  Let's tour the sample
  308.           database on the DataPerfect Test Drive diskette to get
  309.           acquainted with DataPerfect terms.
  310.  
  311.           1    Start DataPerfect (DPT).
  312.  
  313.           A list of databases appears.
  314.  
  315.           2    Move the cursor to CLIENT2, press Enter.
  316.  
  317.           A list of panels in the CLIENT2 database appears.
  318.  
  319.           Notice that there are five panels.
  320.  
  321.   Panel
  322.  
  323.           A panel is a box-shaped template which displays a
  324.           DataPerfect record.  Its purpose is to label
  325.           information and make records easy to read.  The panel
  326.           we will look at is called Customer Information.
  327.  
  328.           3    Move the cursor to Customer Information, then
  329.                press Enter.
  330.  
  331.           The Customer Information panel appears, displaying
  332.           name, address, and other customer information.
  333.  
  334.           When you create a panel you determine the information
  335.           it will include and how that information will appear
  336.           on-screen.
  337.  
  338.   Field
  339.  
  340.           A field contains the smallest unit of data in a
  341.           database.  Pieces of information like last name, first
  342.           name, and telephone number are individual fields.  You
  343.           can move from field to field by pressing Tab.
  344.  
  345.   Record
  346.  
  347.           The information in fields in a panel combine to make up
  348.           a record.  A record is a group of related data that
  349.           describes one subject, such as a person.  (It is the
  350.           actual information displayed in a panel.)
  351.  
  352.           4    Press Page Down to move to the next record.
  353.  
  354.           A different record is displayed in the same panel.
  355.  
  356.   File
  357.           The data in a panel is stored in a file.  A file
  358.           consists of one or more records.  The name of the file
  359.           you are viewing appears in the upper left corner of the
  360.           panel.
  361.  
  362.           5    Press Page Down a few times.
  363.  
  364.           All of the records you can display in the Customer
  365.           Information panel are contained in the CLIENT2.DAT
  366.           file.  The total number of records in the file appears
  367.           next to the filename.
  368.  
  369.   Lookup List
  370.  
  371.           A lookup list helps you find records.
  372.  
  373.           6    Use Tab to move the cursor to the Last Name field.
  374.  
  375.           7    Press Lookup (F8) or Up Arrow.
  376.  
  377.           The fields in the lookup list are displayed in the
  378.           lookup area at the top of the screen.
  379.  
  380.           8    Use Down Arrow to scroll through the listed
  381.                records.
  382.  
  383.           Notice that as the cursor in the lookup list moves to a
  384.           new name, the record for that person is displayed in the
  385.           Customer Information panel.  Lookup lists provide an
  386.           easy way to find a desired record.  You can create a
  387.           lookup list for any or all fields in a panel.  If you do
  388.           not create a lookup list for a field, the program will
  389.           use a default lookup list for that field.
  390.  
  391.           9    Use Up Arrow to move to Allen Caldiero in the
  392.                lookup list, then press Enter to return to the
  393.                panel.
  394.  
  395.           A lookup list does not control the order in which the
  396.           records are sorted.  You must choose an index so
  397.           DataPerfect will know how to sort the records in the
  398.           lookup area.  See Index for more information.
  399.  
  400.   Panel Link
  401.  
  402.           A panel link lets you move from a record in one panel
  403.           (a source panel) to a related record in another panel
  404.           (a destination panel).  This type of link is commonly
  405.           used for one-to-one and one-to-many relationships (for
  406.           example, to connect customer's records to their
  407.           payments).
  408.  
  409.           A panel link appears as a rectangle (±) and is not
  410.           attached to a field.
  411.  
  412.           10   Press Down Arrow to move to the Payments panel
  413.                link, then press Down Arrow again to move through
  414.                the link.
  415.  
  416.           The Payments panel appears.  This is one of the five
  417.           panels you saw on the panel list when you entered the
  418.           CLIENT2 database.  By accessing the panel through the
  419.           panel link, you only access Payment panel records for
  420.           the customer whose record is being displayed in the
  421.           Customer Information panel.
  422.  
  423.           11   Press Page Down to display the next payment
  424.                record.
  425.  
  426.           Panel links from the destination panel also let you
  427.           create windows.  A window displays related record
  428.           information in the source panel.
  429.  
  430.           To see an example of a window,
  431.  
  432.           12   Press Exit (F7) twice to return to the panel list.
  433.  
  434.           13   Move the cursor to the Invoices panel and press
  435.                Enter.
  436.  
  437.           The Invoice panel appears.
  438.  
  439.           14   Press Tab a few times to move the cursor from
  440.                field to field.
  441.  
  442.           Notice that the cursor does not stop at the Items
  443.           Purchased information.  That information is actually
  444.           contained in another panel, Items Purchased, which is
  445.           linked through the Invoice Items panel link.
  446.  
  447.   Data Link
  448.  
  449.           A data link is another way to relate a record in one
  450.           panel to a record in another.  A data link is commonly
  451.           used to relate records in a many-to-one relationship. 
  452.           It can be used in conjunction with a panel link to form
  453.           a many-to-many relationship.  (For example, you would
  454.           use a data link to connect employees' records to records
  455.           of the departments in which they work.)
  456.  
  457.           A data link appears as a diamond character and is
  458.           attached to a field.  In the Invoices panel, there is a
  459.           data link attached to the Customer ID field.  This link
  460.           connects the Invoices panel to the Customer Information
  461.           panel.
  462.  
  463.           15   Use Tab to move the cursor to the Customer ID
  464.                field, the press F8 to view the linked record.
  465.  
  466.           The Customer Information panel appears.
  467.  
  468.           This type of link is used for data checking.  As its
  469.           name implies, data checking is a method of checking the
  470.           data entered into a field.  Data checking can require
  471.           the user to select the proper value for a field from a 
  472.           lookup list of related records.  This not only provides 
  473.           accuracy, but also saves time and keystrokes when a user 
  474.           is creating a record.  This type of data checking is 
  475.           useful for including items in an invoice record, or any 
  476.           time a field needs to match a field in a related record 
  477.           which has already been created.
  478.  
  479.           Data checking also prevents you from entering alternate 
  480.           spellings, typographical errors, or data for which a 
  481.           related record does not yet exist.  It does this by
  482.           making  sure that the value entered in a field is
  483.           identical to the value in the same field of a linked
  484.           panel.  This provides accuracy for both sorting and
  485.           record lookup.
  486.  
  487.           16   Press Exit until you have exited DataPerfect.
  488.  
  489.   Index
  490.  
  491.           An index is a sorted list of fields used to locate and
  492.           differentiate between records in a database. 
  493.           DataPerfect requires indexes to establish links and
  494.           lookup lists, and to sort records for reports.  You can
  495.           define several indexes for each panel in a database, so
  496.           records can be sorted and cross-referenced in a variety
  497.           of ways.  You must define at least one index for each
  498.           panel of a database.
  499.  
  500.           When you create an index, you select fields from a
  501.           panel in the order you want them sorted.  For example,
  502.           if you select the Last Name field, then the First Name
  503.           field, then the Middle Initial field, the result is an
  504.           index with the following priorities:  (1) Last Name,
  505.           (2) First Name, and (3) Middle Initial.  This index
  506.           would first sort records by last name, and then use
  507.           first names to further sort records which have the same
  508.           last name.  In the event that two records had the same
  509.           last and first names, the index would further sort by
  510.           middle initial.
  511.  
  512.   Key Link Field List
  513.  
  514.           You are asked to select fields for a key link field list
  515.           each time you create a panel link or data link.  This
  516.           field list needs to be a subset of the index you select
  517.           for the link.  It is used to determine the fields
  518.           brought through the link and displayed in the
  519.           destination panel.  An index and its three possible
  520.           ordered subsets are shown below:
  521.  
  522.                Index (destination panel)
  523.                Customer ID    hidden    Invoice Number
  524.  
  525.                Link Field List (source panel)
  526.                Customer ID
  527.  
  528.                or
  529.  
  530.                Customer ID    hidden
  531.  
  532.                or
  533.  
  534.                Customer ID    hidden    Invoice Number
  535.  
  536.           The fields in the link field list must be the field(s)
  537.           common to the two linked panels.
  538.  
  539.   Formula
  540.  
  541.           A formula computes a value to be stored in a field. 
  542.           Suppose you create a panel containing a Subtotal field,
  543.           a Tax field, and a Total field.  You could create a
  544.           formula in the Tax field to multiply the contents of
  545.           the Subtotal field by the tax rate.  The result of this
  546.           formula would appear in the Tax field.  You could also
  547.           attach a formula to the Total field which would add the
  548.           contents of the Subtotal field and the Tax field.  The
  549.           sum of that formula would then appear in the Total
  550.           field.
  551.  
  552.   Report
  553.  
  554.           A report is a way of extracting information from a
  555.           database.  A report can be sent to the screen, a disk
  556.           file, or the printer.  Reports can be used to
  557.           create form letters, compile information sorted under
  558.           various headings, create custom merge files for use
  559.           with WordPerfect, and so forth.  Reports can also be
  560.           used to modify, create, or delete information in a
  561.           database.
  562.  
  563.   Menu
  564.  
  565.           A menu is a list of choices.  In DataPerfect, built-in
  566.           menus provide features necessary for database creation,
  567.           navigation, reporting, and other functions.  You may also
  568.           see user-defined menus in which the definer provides
  569.           direct access to panels, reports, or other functions
  570.           through menu number choices. €  Keystrokes
  571.  
  572.           Keystrokes are included in the steps of each lesson to
  573.           guide you through accomplishing a task.  All are
  574.           followed by the keys you need to press to select the
  575.           feature or option.
  576.  
  577.   Conventions
  578.  
  579.           The words below have specific meanings and are used
  580.           throughout the lessons in the step-by-step
  581.           instructions.
  582.  
  583.           Enter
  584.           Type the character(s), then press Enter.  Because
  585.           DataPerfect converts field formats and filenames to
  586.           uppercase as you type them, you do not need to use the
  587.           Shift Key when you see an instruction such as "Enter
  588.           N9999::E as the field format."
  589.  
  590.           Type
  591.           Type the character(s), but do not press Enter.
  592.  
  593.           Select
  594.           Choose an option from a menu.  You can select an option
  595.           from a DataPerfect menu by typing its number.
  596.  
  597.           Press
  598.           Press the specified key on your keyboard.  Most
  599.           DataPerfect features are selected by pressing a
  600.           function key on your keyboard (F1, F2, F3, and so
  601.           forth.).  Often you will need to hold down Shift, Alt,
  602.           or Ctrl and then tap a function key to select the
  603.           feature.
  604.  
  605.           Whenever you need to hold down one key and then tap
  606.           another, the two keys are separated by a hyphen (such as,
  607.           Ctrl-F1).  Remember that you can press Help (F3) twice
  608.           to display an on-screen template of DataPerfect
  609.           function keys. €  DataPerfect Relationships
  610.  
  611.           One aspect of DataPerfect which makes data storage and
  612.           retrieval much more convenient than a traditional
  613.           filing cabinet is its ability to link related records. 
  614.           This lets you link invoice records to account records,
  615.           children records to parent records, and so forth.
  616.           DataPerfect lets you link records in four types of
  617.           relationships: one-to-one, one-to-many, many-to-one,
  618.           and many-to-many.
  619.  
  620.   One-to-One
  621.  
  622.           A one-to-one relationship is established when one
  623.           record in a source panel is related to only one record
  624.           in the destination panel.  This type of relationship
  625.           lets you connect one record to a single related record.
  626.  
  627.           A link connecting an Employee Information panel to an
  628.           Employee Spouse Information panel would relate one
  629.           employee record to the record of his or her spouse.
  630.  
  631.           This type of relationship is generally established by
  632.           using a panel link.
  633.  
  634.   One-to-Many
  635.  
  636.           A one-to-many relationship is established when one
  637.           record in a source panel is related to many records in
  638.           a destination panel. This type of relationship lets you
  639.           connect one record to related records.  For example, a
  640.           link connecting a Mother Information panel to a Child
  641.           Information panel could relate a mother's record to
  642.           records for all of her children.
  643.  
  644.           This type of relationship is established by using a
  645.           panel link.
  646.  
  647.   Many-to-One
  648.  
  649.           A many-to-one relationship is established when many
  650.           records in a source panel are related to only one
  651.           record in a destination panel.  For example, a link
  652.           connecting a Patient panel to an Insurance Company
  653.           panel could relate the records of several patients to
  654.           the record of one insurance company.
  655.  
  656.           This type of relationship is established by using a
  657.           data link, and allows data checking.
  658.  
  659.   Many-to-Many
  660.  
  661.           A many-to-many relationship is established when many
  662.           records in a source panel are related to many records
  663.           in a linked panel.  For example, a database used to
  664.           schedule classes at a school might have a Students
  665.           panel linked to a Classes panel.  The linked records
  666.           would have a many-to-many relationship because many
  667.           students can each be assigned to many classes.
  668.  
  669.           This type of relationship may require both panel links
  670.           and data links, depending on whether or not data
  671.           checking is desired.  It consists of two separate
  672.           relationships to a third panel.
  673.  
  674.           For example, student records could be linked in a one-
  675.           to-many relationship to registration records.   Class
  676.           records could also be linked in a one-to-many
  677.           relationship to registration records.  The combination
  678.           creates a many-to-many relationship between students
  679.           and classes through the third panel (the Registration
  680.           panel). € Menu
  681.  
  682.           With the DataPerfect Menu feature, you can define a menu
  683.           to simplify user tasks and restrict database access.
  684.           Users access a panel or report by choosing a menu option
  685.           instead of navigating DataPerfect manually.
  686.  
  687.           Once you have created a menu, a user enters a number to
  688.           access a panel, a panel list, or a report list, or to
  689.           run a report or Shell macro.
  690.  
  691.           An entire menu can be secured with a Definer Password.
  692.           Each option of the menu can contain a password to limit
  693.           user access to the database.  If necessary, you can set
  694.           passwords to prevent users from accessing any part of
  695.           the database.
  696.  
  697.           A database must already be defined before you attempt to
  698.           create a menu for that database.
  699.  
  700.   Menu Concepts
  701.  
  702.           Like database creation, menu creation requires an
  703.           understanding of basic concepts.  Before designing or
  704.           creating your menu, make sure you understand the concepts
  705.           explained in this section.
  706.  
  707.           DataPerfect menu creation includes two distinct steps:
  708.           designing the text screen and assigning menu option
  709.           definitions.
  710.  
  711.           Once you understand the menu creation process, you should
  712.           plan the menu before proceeding.  Next, you will create
  713.           the menu text (the portion of the menu the user will
  714.           see).  Finally, you will assign certain actions to menu
  715.           numbers in the Define Menu screen.
  716.  
  717.   Text Screen
  718.  
  719.           The text screen lists available choices (menu items) and
  720.           the numbers associated with these choices.
  721.  
  722.           In simple terms, the text screen tells users what number
  723.           to enter in the prompt field to do specific tasks like
  724.           running a report or entering a panel.  The prompt field
  725.           is the only active part of the text screen.
  726.  
  727.   Definition Screen
  728.  
  729.           The Define Menu screen lets you define menu assignments.
  730.           This screen lists menu selection numbers and associated
  731.           actions, once these actions are assigned.  In this
  732.           screen, you can assign actions to menu selection numbers
  733.           and edit existing assignments.For instance, if a definer
  734.           assigned menu item 1 to the Customer Information panel,
  735.           a user would gain access to the panel by entering the
  736.           number 1 in the menu prompt field in the text screen.
  737.  
  738.           The Define Menu options let the definer assign actions
  739.           to menu selection numbers.  These options are listed in
  740.           a table later in this section and are explained in detail
  741.           in Menu, Define.  Your menu will be more successful if,
  742.           before defining a menu, you read about the options you
  743.           want to use.
  744.  
  745.   Planning the Menu
  746.  
  747.           If you plan your menu before you define it, the
  748.           definition process will be easier and the menu you create
  749.           will probably be more efficient and secure.
  750.  
  751.           Decide what tasks your users will use the menu to
  752.           perform.
  753.  
  754.           Sketch a rough design of the text screen, listing and
  755.           numbering the tasks from step 1 and including the basic
  756.           design elements you want (a title, boxes, lines, color,
  757.           and so on).
  758.  
  759.           Decide which Define Menu option you will use to define
  760.           each menu item (task).
  761.  
  762.           Refer to the table below for general information about
  763.           the types of menu items you can define.  For more
  764.           detailed information about menu item types, see the
  765.           corresponding heading later in this section.
  766.  
  767.           For example, to see more information on how to define
  768.           an item that lets a user access a specific panel, see Go
  769.           To Panel (1) under Menu, Define.
  770.  
  771.  
  772.      Option                    Explanation 
  773.      Go to Panel (1)           Lets users access a specific panel.
  774.                                If desired, the definer can enter
  775.                                a key word to choose which sorted 
  776.                                records the user can access through
  777.                                this option.
  778.  
  779.      Go to Panel (User Selects Record) (2)
  780.                                Lets users access a specific panel.
  781.                                User must enter a key word to view
  782.                                sorted records which match the key 
  783.                                word.
  784.  
  785.      Run Report (3)            Runs a specific report.
  786.  
  787.      Go To Panel List (4)      Lets users access the Panel List.
  788.  
  789.      Go To Report List (5)     Lets users access the Report List.
  790.  
  791.      Submenu (6)               Creates a submenu.
  792.  
  793.      Launch Shell Macro (7)    Launches an existing Shell macro.
  794.  
  795.  
  796.           Decide security issues.  For example, you may decide to
  797.           add both a definer and a supervisor password to the
  798.           database and to add a password to the option that allows
  799.           access to the panel list.
  800.  
  801.           See the headings that correspond to option types for
  802.           information on how to add passwords to your menu items.
  803.           See Menu Security for more information.
  804.  
  805.           Create the text screen and assign actions to menu items
  806.           according to your plan.
  807.  
  808.           For information on how to create the text screen, see
  809.           Create/Edit Menu Text in Menu, Define.
  810.  
  811.           For information on how to assign actions to menu items,
  812.           see Menu, Define.
  813.  
  814.   Menu, Define
  815.  
  816.           The following steps give an overview of how to create a
  817.           menu.  Refer to the appropriate headings later in this
  818.           section to find out more about specific menu options.
  819.  
  820.           If this is the first time you've defined a menu, make
  821.           sure you have read Menu.
  822.  
  823.           Plan the menu.
  824.  
  825.           Access the database panel list.
  826.  
  827.           Press Define Panel/Menu (Alt-F8) to enter menu define
  828.           mode.
  829.  
  830.           Once a menu is in place, you will not have direct access
  831.           to the panel list.  You can modify an existing menu by
  832.           pressing Define Panel/Menu (Alt-F8) from the menu.
  833.  
  834.           The Define Menu options are displayed.  Options 1-7 let
  835.           you create new menu assignments.  Options eight and nine
  836.           let you edit existing assignments.  Option A lets you
  837.           create or edit the menu text.  Option B lets you position
  838.           the user prompt.
  839.  
  840.           If you are not familiar with the types of menu items you
  841.           can define, read the heading that corresponds to the
  842.           Define Menu option later in this section.
  843.  
  844.           Select Create/Edit Menu Text (A) to display a skeleton
  845.           sample screen of menu text.
  846.  
  847.           Modify the sample screen to create the menu you want, or
  848.           delete the sample screen and create one of your own.
  849.  
  850.           For details on creating menu text, see Create/Edit Menu
  851.           Text later in this section.
  852.  
  853.           When you are finished creating the menu text, press Exit
  854.           (F7).
  855.  
  856.           Whatever is on the screen when you exit will be your
  857.           menu.  If you make any changes in the text screen, the
  858.           prompt field appears at the end of the menu text when you
  859.           exit.  If you enter the text screen and exit without
  860.           making any changes, the prompt field does not appear.
  861.  
  862.           If you want to move the prompt field, use the arrow keys
  863.           to move the prompt field to the location you want.  For
  864.           details on moving the menu prompt, see Move the Menu
  865.           Prompt later in this section.
  866.  
  867.           Press Enter to set the menu prompt and return to the
  868.           Define Menu options.
  869.  
  870.           Use options 1-7 to assign a number for each menu item you
  871.           typed as menu text.
  872.  
  873.           For information about each option, see the corresponding
  874.           entry later in this section.  For example, if you want
  875.           to define a menu selection that lets the user access a
  876.           specific panel, follow the steps in Go To Panel (1) later
  877.           in this section.  If you want to define a menu selection
  878.           that lets the user access the report list, see Report
  879.           List (5) later in this section.
  880.  
  881.           Press Exit (F7) to display the menu you have created.
  882.  
  883.           Press Exit (F7) to exit the database.
  884.  
  885.           The next time you enter the database, your menu will be
  886.           displayed.
  887.  
  888.   Create/Edit Menu Text
  889.  
  890.           To create or edit the text portion of the menu,
  891.  
  892.           Start from the Define Menu screen.
  893.  
  894.           Select Create/Edit Menu Text (A).
  895.  
  896.           The Edit Menu Text screen appears.
  897.  
  898.           A skeleton sample screen is available to help your menu
  899.           creation.  If you plan to type items in the sample
  900.           screen box or any box you create, use typeover mode
  901.           instead of insert to avoid moving the right side of the
  902.           box.
  903.  
  904.           If you want to delete the sample screen in order to
  905.           create a screen of your own design, first move the cursor
  906.           to the top left corner of the screen by pressing 
  907.           Home,Home,Up Arrow.  Then press Block (Alt-F4), move the
  908.           cursor to the end of the text by pressing Home,Home,Down
  909.           Arrow, and then press Backspace to delete the blocked
  910.           text.
  911.  
  912.           If you are using a color monitor, menu colors are
  913.           determined by the colors you have chosen for your
  914.           database in Screen Options (Ctrl-F3).
  915.  
  916.           Type an item number followed by an item name for each
  917.           menu selection you want.
  918.  
  919.           Add any other desired menu elements (boxes, lines, bold
  920.           or underline codes, and so on).
  921.  
  922.           To draw lines, boxes, or backshadowing, you can use line
  923.           draw and other special characters.  You can create lines
  924.           by using Extended ASCII codes, which are available by
  925.           simultaneously pressing the Alt button and numbers on
  926.           your numeric keypad.  Line draw characters begin with 
  927.           character 179 and end with character 218.  For example,
  928.           to draw a single vertical line, you would press the
  929.           keypad numbers 1, 7, and 9 while holding the Alt key. 
  930.           See your DOS manual for more details.
  931.  
  932.           On color monitors, bold and underline appear as colors.
  933.           If menu users will view your database on color monitors,
  934.           you can use Bold (F6) and Underline (F8) to color screen
  935.           elements like boxes and backshadowing.
  936.  
  937.           Bold and underline appear differently on monochrome
  938.           monitors than they do on color monitors.  Use of bold
  939.           and underline for special effects on monochrome monitors
  940.           is not recommended.
  941.  
  942.           Press Exit (F7) when you have finished entering text.
  943.  
  944.           If you have not made any change to the screen, you are
  945.           returned to the Define Menu options.
  946.  
  947.           If you have made any changes to the screen, the prompt
  948.           field appears.  The prompt field is the field in the text
  949.           screen where the user enters a selection.  Depending on
  950.           how your text is positioned, you may want to move the
  951.           prompt field.
  952.  
  953.           If you want to re-position the prompt field, move it to
  954.           the desired location with the arrow keys, then press
  955.           Enter to save the location and return to the Define Menu
  956.           screen.
  957.  
  958.   Move the Menu Prompt
  959.  
  960.           The prompt field is the field on the text screen where
  961.           the user types a menu item number to make a menu
  962.           selection.  By default, the prompt field on the menu
  963.           text screen appears after the last character of menu
  964.           text.
  965.  
  966.           DataPerfect lets you move the prompt field immediately
  967.           after the initial menu creation.  Once you have entered
  968.           text and exited the text screen, you can choose this
  969.           option to change the prompt field location.  You can also
  970.           change the prompt field location by making changes to
  971.           menu text (A) and then pressing Exit (F7)
  972.  
  973.           From the Define Menu screen,
  974.  
  975.           Select Move the Menu Prompt (B).
  976.  
  977.           The menu text screen is displayed.
  978.  
  979.           Use the arrow keys to reposition the prompt field.
  980.  
  981.           Press Enter to save the prompt field location and return
  982.           to the Define Menu screen.
  983.  
  984.   Go To Panel (1)
  985.  
  986.           This option lets you create a menu item that lets users
  987.           access a panel that you specify.
  988.  
  989.           If you want, you can sort the panel records with a key
  990.           word.  Then when users choose this item, they will see
  991.           only records that you have specified for this item with
  992.           the key word.  The key word is specified by you, the menu
  993.           definer.  Users are not prompted for a key word with this
  994.           option.
  995.  
  996.           To create a panel entry with or without a definer-
  997.           specified key word,
  998.  
  999.           Make sure you are in the Define Menu screen.
  1000.  
  1001.           Select Go to Panel (1).
  1002.  
  1003.           Type the number of the menu selection you want to add and
  1004.           press Enter.
  1005.  
  1006.           The panel list is displayed.
  1007.           Place the cursor on the desired panel and press Enter.
  1008.  
  1009.           Set the toggle for each of options 1-6.  Refer to the
  1010.           table below for available settings.
  1011.  
  1012.  
  1013.  
  1014.      # Option                       Settings
  1015.  
  1016.      1 Panel Access Rights          Read/Write 
  1017.                                     No Delete 
  1018.                                     Create OK - No Delete/Edit
  1019.                                     Read-Only
  1020.  
  1021.      2 Access Report List           Yes (user can access reports)
  1022.                                     No  (user can't access reports)
  1023.  
  1024.      3 Restrict Modification to First Level  
  1025.                                     No  (user can modify records
  1026.                                          in the original panel, but
  1027.                                          cannot modify any records
  1028.                                          reached through a link)
  1029.                                     Yes (user can modify records
  1030.                                          in the original and any 
  1031.                                          linked panels)
  1032.  
  1033.      4 Edit Password                No options.  See step A below.
  1034.  
  1035.      5 Edit Keyword                 No options.  See step B below.
  1036.  
  1037.      6 Choose Index                 No options.  See step C below.
  1038.  
  1039.      A Password
  1040.           If you want to add a password to restrict access to the
  1041.           panel, choose Edit Password (4), then type the password
  1042.           using eight characters or fewer and press Enter.
  1043.  
  1044.      B Keyword
  1045.           If you want to sort the records with a key word, choose
  1046.           Edit Key Word (5), then enter a word of four characters
  1047.           or fewer to sort by.
  1048.  
  1049.           If you chose a key word to sort by, the index you choose
  1050.           must include as its first field the field that will
  1051.           contain the key word.
  1052.  
  1053.      C Index
  1054.           Choose Index (6), use the up and down arrow keys to
  1055.           access the desired index, then press Select (F4).
  1056.  
  1057.      D    Press Exit (F7) to return to the Define Menu options.
  1058.           Go To Panel (User Selects Record) (2)
  1059.  
  1060.   Go To Panel (User Selects Record) (2)
  1061.  
  1062.           This option lets you create a menu item that lets users
  1063.           access a panel that you specify.  The records in the
  1064.           panel are sorted according to the first field of the
  1065.           index you specify while defining the menu item.  The
  1066.           sorted records are then displayed according to user
  1067.           response to a key word prompt.
  1068.  
  1069.           For example, suppose an assistant to two attorneys enters
  1070.           records for both attorneys in one panel.  The assistant
  1071.           might want to view the record for a specific client who
  1072.           works with only one of the attorneys.  The assistant
  1073.           could do a lookup on only records for one attorney or
  1074.           the other by first selecting a menu item (access to the
  1075.           panel, for example) and then entering the keyword
  1076.           associated with the selected attorney.
  1077.  
  1078.           For security purposes, the keyword search will find only
  1079.           those records with an exact match.  The key word search
  1080.           is not case-sensitive and can contain as many as 64
  1081.           characters.  If you establish a keyword of "smi", the
  1082.           keyword search will find Smiley, Smith, Smithers, and
  1083.           other words that are a subset of the keyword which match
  1084.           the character order.
  1085.  
  1086.           To create a panel entry with a user-entered key word,
  1087.  
  1088.           Start from the Define Menu screen.
  1089.  
  1090.           Choose Go to Panel (User selects record) (2).
  1091.  
  1092.           Type the number of the menu selection you want to assign
  1093.           and press Enter.
  1094.  
  1095.           Place the cursor on the desired panel and press Enter.
  1096.  
  1097.           Set the toggle for each of options 1-5.  Refer to the
  1098.           table below for available settings.
  1099.  
  1100.      # Option                       Settings
  1101.  
  1102.      1 Panel Access Rights          Read/Write
  1103.                                     No Delete 
  1104.                                     Create OK - No Edit/Delete
  1105.                                     Read Only
  1106.  
  1107.      2 Access Report List           Yes (user can access reports)
  1108.                                     No  (user can't access reports)
  1109.  
  1110.      3 Restrict Modification to First Level
  1111.                                     No  (user can modify records
  1112.                                          in the original panel, but
  1113.                                          cannot modify any records
  1114.                                          reached through a link)
  1115.                                     Yes (user can modify records
  1116.                                          in the original and any
  1117.                                          linked panels)
  1118.  
  1119.     4 Edit Password                 No options.  See step A below.
  1120.  
  1121.     5 Choose Index                  No options.  See step B below.
  1122.  
  1123.     A     If you want to add a password to restrict access to the
  1124.           panel, choose Edit Password (4), then type a password of
  1125.           eight or fewer characters.
  1126.  
  1127.     B     Select Choose Index (5).
  1128.  
  1129.           The index you choose must include as its first field the
  1130.           field that the user is prompted to match.
  1131.  
  1132.     C     Use the up and down arrow keys to move to the appropriate
  1133.           index, then press Select (F4).
  1134.  
  1135.     D     Press Exit (F7) to return to the Define Menu options.
  1136.  
  1137.   Run Report (3)
  1138.  
  1139.           This option lets you create a menu item that lets the
  1140.           user run a specific report.
  1141.  
  1142.           Start from the Define Menu screen.
  1143.  
  1144.           Select Run Report (3).
  1145.  
  1146.           Type the number of the menu selection you want to assign
  1147.           and press Enter.
  1148.  
  1149.           The report list is displayed.
  1150.  
  1151.           Place the cursor on the desired report, then press Enter
  1152.           to select the report.
  1153.  
  1154.           The Report menu appears.
  1155.  
  1156.           The default setting report option A is Normal Report
  1157.           Mode.
  1158.  
  1159.           Single Record Report From Lookup lets you run a report
  1160.           on a single record and then returns the cursor to the
  1161.           lookup list so you can select multiple records for the
  1162.           report quickly.
  1163.  
  1164.           If you want to select Single Record Report From Lookup
  1165.           mode, choose A.
  1166.  
  1167.           If you want to add a password to this report, choose B,
  1168.           then type a password of eight characters or fewer, and
  1169.           then press Enter.
  1170.  
  1171.           If you want to allow the person who executes the report
  1172.           to be able to set options for printer, disk file, index,
  1173.           search conditions, sort direction, and print options,
  1174.           choose C, then press Enter.
  1175.  
  1176.           Press Exit to return to the Define Menu options.
  1177.  
  1178.   Go To Panel List (4)
  1179.  
  1180.           This option lets you create a menu item that lets users
  1181.           access the panel list.  You may want to use a password
  1182.           to restrict some users from accessing the panel list.
  1183.  
  1184.           Start at the Define Menu screen.
  1185.  
  1186.           Select Go To Panel List (4).
  1187.  
  1188.           Type the appropriate menu selection number.
  1189.  
  1190.           Type a password of eight or fewer characters
  1191.  
  1192.           or
  1193.  
  1194.           Press Enter to return to the Define Menu options.
  1195.  
  1196.   Go To Report List (5)
  1197.  
  1198.           This option lets you define a menu item that lets users
  1199.           access the report list.  You may want to use a password
  1200.           to restrict some users from accessing the report list.
  1201.  
  1202.           Start at the Define Menu screen.
  1203.  
  1204.           Select Go To Report List (5).
  1205.  
  1206.           Type the appropriate menu selection number and press
  1207.           Enter.
  1208.  
  1209.           Type a password of eight or fewer characters.
  1210.  
  1211.           or
  1212.  
  1213.           Press Enter to return to the Define Menu options.
  1214.  
  1215.   Submenu (6)
  1216.  
  1217.           You can create one or more submenus to the main menu.
  1218.  
  1219.           Each selection on the menu of submenus displays a new
  1220.           menu.  You can add a submenu to a submenu.  Unlimited
  1221.           levels of submenus are allowed.
  1222.  
  1223.           Select Submenu (6).
  1224.  
  1225.           Type the number of the menu selection to which you want
  1226.           to add a submenu and press Enter.
  1227.  
  1228.           Dataperfect prompts you for a definer password.
  1229.  
  1230.           Type a password of eight or fewer characters and press
  1231.           Enter.
  1232.  
  1233.           or
  1234.  
  1235.           If you want no password, press Enter to return to the
  1236.           Define Menu options.
  1237.  
  1238.           A new Define Menu screen is displayed.
  1239.  
  1240.           Create or edit a submenu as you would any other menu.
  1241.  
  1242.           Press Exit (F7) to return to the previous Menu screen.
  1243.  
  1244.   Launch Shell Macro (7)
  1245.  
  1246.           This option lets you create a menu entry that runs a
  1247.           Shell macro that you designate.  Shell macros let you
  1248.           automate DataPerfect tasks.  For example, you could use
  1249.           a Shell macro to export data from and import data to a
  1250.           database.
  1251.  
  1252.           If the Shell macro does not yet exist, define it before
  1253.           continuing.
  1254.  
  1255.           Make sure you know the location of the Shell macro you
  1256.           want this item to launch.
  1257.  
  1258.           Make sure you are in the Define Menu screen.
  1259.  
  1260.           Choose Launch Shell Macro (7).
  1261.  
  1262.           Type the appropriate menu selection number and press
  1263.           Enter.
  1264.  
  1265.           Choose Edit Macro Name (1).
  1266.  
  1267.           Enter the macro path and name (for example,
  1268.           c:\dp23\macros\exp&imp.shm).
  1269.  
  1270.           If you want a password on this item, choose Edit Password
  1271.           (2), type a password of eight characters or fewer, and
  1272.           then press Enter.
  1273.  
  1274.           Press Exit (F7) to return to the Define Menu options.
  1275.  
  1276.   Edit an Existing Entry (8)
  1277.  
  1278.           This option lets you make changes to an existing menu
  1279.           selection.
  1280.  
  1281.           You can use this option to change settings like
  1282.           passwords, key words, and so on.  However, you cannot
  1283.           change the destination of a menu entry.  To change the
  1284.           destination of a menu entry, you need to delete and
  1285.           re-create the entry.
  1286.  
  1287.           Start from the Define Menu screen.
  1288.  
  1289.           Choose Edit an Existing Entry (8).
  1290.  
  1291.           Type the number of the menu selection you want to edit
  1292.           and press Enter.
  1293.  
  1294.           Make the changes for the menu item you selected.
  1295.  
  1296.           For details on how to make changes to the menu item you
  1297.           selected, refer to the appropriate heading above.  For
  1298.           example, if the item you selected lets users access the
  1299.           panel list, see Panel List (4) above.
  1300.  
  1301.   Delete an Existing Entry (9) 
  1302.  
  1303.           To delete a menu entry, start at the Define Menu screen.
  1304.  
  1305.           Select Delete an Existing Entry (9).
  1306.  
  1307.           Enter the number of the menu entry you want to delete.
  1308.           You are prompted to confirm the deletion.
  1309.  
  1310.           The menu entry is deleted and you are returned to the
  1311.           Define Menu screen.
  1312.  
  1313.   Menu, Remove
  1314.  
  1315.           There are two ways to remove a menu from a database. One
  1316.           involves editing the databases .STE file.  The .STE file
  1317.           is a text file that defines the database structure.  This
  1318.           method is useful because it deletes submenus, but is only
  1319.           available to you if you have DPEXP and DPIMP.  DPEXP and
  1320.           DPIMP are available with DataPerfect packages, but not
  1321.           with the DataPerfect TestDrive kit.
  1322.  
  1323.           The other method of removing a menu from a database
  1324.           involves deleting the contents of the text screen.  This
  1325.           method is quicker and easier than editing the .STE file.
  1326.  
  1327.    Removing the Menu by Deleting Menu Text
  1328.  
  1329.           You can remove a menu from a database by deleting
  1330.           everything in the menu text screen.  However, the menu
  1331.           cannot be restored to the database unless you re-create
  1332.           it.
  1333.  
  1334.           Submenus are not deleted when you delete the text of the
  1335.           main menu, but are not accessible unless the database
  1336.           has a main menu.  If you have deleted the main menu and
  1337.           have left residual submenus, you can access them again by
  1338.           creating a new main menu for the database.  If the .STE
  1339.           is exported and imported while the database has residual
  1340.           submenus and no main menu, the submenus are deleted.
  1341.  
  1342.     To remove a menu by deleting menu text,
  1343.  
  1344.           Access the database menu.
  1345.  
  1346.           Press Define Panel/Menu (Alt-F8) to enter menu define
  1347.           mode.
  1348.  
  1349.           If the database has a password on it, you will have to
  1350.           enter the password to access the Define Menu options.
  1351.  
  1352.           Select Create/Edit Menu Text (A).
  1353.  
  1354.           The Edit Menu Text screen appears.
  1355.  
  1356.           Without moving the cursor, press Block (Alt-F4).
  1357.  
  1358.           Press Home,Home,Down Arrow to move the cursor to the end
  1359.           of the text.
  1360.  
  1361.           Press Backspace, then press y to confirm the deletion.
  1362.  
  1363.           Press Exit three times to exit the text screen and
  1364.           database.
  1365.  
  1366.           Re-enter the database to make sure the menu is removed.
  1367.  
  1368.      Menu Security
  1369.  
  1370.           A DataPerfect menu lets you control user access to a
  1371.           database.  Database security requires some planning.
  1372.           Without planning, you may defeat your own attempts to
  1373.           secure data.
  1374.  
  1375.           For example, you might put a password on a certain panel.
  1376.           However, if you create another option that allows panel
  1377.           list access and neglect to put a password on that option,
  1378.           unauthorized users will still have access to the data in
  1379.           the panel you secured with a password.
  1380.  
  1381.           In almost all cases, you should secure the database with
  1382.           a definer password.  This will prevent users from
  1383.           accessing the Menu Define screen and altering menu
  1384.           options or accessing data you want protected.  You may
  1385.           want to add a supervisor password in addition to the
  1386.           definer password.  This password lets the supervisor
  1387.           access the Define Menu screen and change the passwords
  1388.           or options of existing entries, but not to add or delete
  1389.           options.
  1390.  
  1391.           You can secure a panel, report, panel list, submenu, 
  1392.           macro, or report list with a password.  See the 
  1393.           appropriate heading (for example, Panel List) in Menu,
  1394.           Define for more information.
  1395.  
  1396.           You can control the records a user sees in a panel by
  1397.           adding a keyword to the menu option that allows access
  1398.           to that panel.  See Go To Panel (1) in Menu, Define for
  1399.           more information. €  Using a Database 1:  Navigating
  1400.  
  1401.           This lesson introduces you to the fundamental
  1402.           keystrokes that let you move around in a database.  You
  1403.           also become familiar with various help messages, the
  1404.           Lookup feature, and exiting a database.
  1405.  
  1406.   Start the Lesson
  1407.  
  1408.           The database you will use in this lesson is called
  1409.           CLIENT2.  Because you will be making changes to the
  1410.           database, it is important that you use a copy of the
  1411.           database files on the DataPerfect Test Drive diskette and
  1412.           not the actual files themselves.  This will allow you or
  1413.           others to complete these lessons again in the future.
  1414.  
  1415.           If you have not copied the database to another
  1416.           directory,
  1417.  
  1418.           1    Copy CLIENT2.* from the DPT directory to 
  1419.                another directory.
  1420.  
  1421.           The steps you used to make a copy of the CLIENT2
  1422.           database are the same steps you use to back up a
  1423.           database.  Because making backup files is important to
  1424.           avoid data loss due to power or machine failure, you
  1425.           should back up your databases regularly.
  1426.  
  1427.           To start the lesson,
  1428.  
  1429.           2    Start DataPerfect (DPT) (if you need detailed
  1430.                instructions, see Starting and Exiting DataPerfect
  1431.                in this README file).
  1432.  
  1433.           When you start DataPerfect, a list of all databases in
  1434.           the current directory appears.  If two or more
  1435.           databases are in the database list, you can use the
  1436.           arrow keys to move the cursor through the list.  From
  1437.           this database list you can enter any database or can
  1438.           change to another directory.
  1439.  
  1440.           3    Select Change Directory (2), then enter the name
  1441.                of the personal directory to which you copied the
  1442.                CLIENT2 database.
  1443.  
  1444.           Now enter the CLIENT2 database.
  1445.  
  1446.           4    With the cursor on the CLIENT2 database, press
  1447.                Enter to display the panel list.
  1448.  
  1449.           A list of the panels in the database appears.
  1450.  
  1451.   Display a Panel
  1452.  
  1453.           Panels display the records in the database.  They can
  1454.           contain fields as well as field labels and other text.
  1455.  
  1456.           You can use the arrow keys to move through the panel
  1457.           list and then press Enter to display the highlighted
  1458.           panel.
  1459.  
  1460.           1    With the cursor positioned on the Customer
  1461.                Information panel, press Enter to access the
  1462.                panel.
  1463.  
  1464.           The Customer Information panel appears.
  1465.  
  1466.   Move from Record to Record
  1467.  
  1468.           Page Down displays the next record in a panel.  Page Up
  1469.           displays the previous record in a panel.
  1470.  
  1471.           1    Press Page Down several times to view records for
  1472.                Allen R. Caldiero, Marshall H. Cameron, and Joseph
  1473.                Corrales, Jr.
  1474.  
  1475.           2    Press Page Up to move the cursor back to the
  1476.                record for Marshall H. Cameron.
  1477.  
  1478.   Move from Field to Field
  1479.  
  1480.           You can use Tab to move the cursor to the next field in
  1481.           a panel.  Shift-Tab and Escape move the cursor to the
  1482.           previous field.
  1483.  
  1484.           1    Press Tab to move the cursor from the Last Name
  1485.                field to the First Name field.
  1486.  
  1487.           2    Press Shift-Tab to move the cursor back to the
  1488.                Last Name field.
  1489.  
  1490.           In addition to Tab and Shift-Tab, you can use Shift-Up
  1491.           Arrow, Shift-Down Arrow, Shift-Right Arrow, or Shift-
  1492.           Left Arrow to move to the field above, below, right, or
  1493.           left respectively.
  1494.  
  1495.           Be sure to use the arrows on the numeric keypad
  1496.           (depending on the type of keyboard you are using, you
  1497.           may not be able to use the arrow keys on the dedicated
  1498.           cursor keypad).  Number Lock should be off.
  1499.  
  1500.           3    Use Shift-Arrows to move the cursor from field to
  1501.                field in the panel.
  1502.  
  1503.   Move Within a Non-Text Field
  1504.  
  1505.           Use the following keys to move the cursor within a non-
  1506.           text field (also known as a fixed length field):
  1507.  
  1508.                Left Arrow                    Character Left
  1509.  
  1510.                Right Arrow                   Character Right
  1511.  
  1512.                Home                          Beginning of Field
  1513.  
  1514.                End                           End of Field
  1515.  
  1516.           1    Move the cursor to the ZIP field (a non-text
  1517.                field).
  1518.  
  1519.           2    Use the keystrokes listed above to move the cursor
  1520.                within the field.
  1521.  
  1522.   Move Within a Text Field
  1523.  
  1524.           Use the following keys to move the cursor within a text
  1525.           field (also known as a variable length field):
  1526.  
  1527.                Left Arrow                 Character Left
  1528.  
  1529.                Right Arrow                Character Right
  1530.  
  1531.                Up Arrow                   Character Above
  1532.  
  1533.                Down Arrow                 Character Below
  1534.  
  1535.                Home, Left Arrow           Beginning of Line
  1536.  
  1537.                Home, Right Arrow or End   End of Line
  1538.  
  1539.                Home, Up Arrow             Several Lines Up
  1540.  
  1541.                Home, Down Arrow           Several Lines Down
  1542.  
  1543.                Home, Home, Up Arrow       Beginning of Field
  1544.  
  1545.                Home, Home, Down Arrow     End of Field
  1546.  
  1547.           1    Use Tab to move the cursor to the Comments field
  1548.                (a text field).
  1549.  
  1550.           2    With the cursor in the Comments field, try each of
  1551.                the above keystrokes to see how the cursor moves
  1552.                in a text field.
  1553.  
  1554.           To return to the Browse mode (the mode you are in when
  1555.           you first start DataPerfect),
  1556.  
  1557.           3    Press Cancel (F1).
  1558.  
  1559.   View Help Messages
  1560.  
  1561.           DataPerfect provides four levels of help.  Program Help
  1562.           provides information about the feature you are using. 
  1563.           Template Help provides an on-screen representation of
  1564.           the function keys with template labels.  Feature List
  1565.           Help provides a list of DataPerfect features and
  1566.           keystrokes.  Custom Help is discussed below after step
  1567.           5.
  1568.  
  1569.           To display the various help messages,
  1570.  
  1571.           1    Use Tab to move to the Comments field.
  1572.  
  1573.           2    Press Help (F3) to display the Program Help
  1574.                screen.
  1575.  
  1576.           Because the Comments field is a text field, the
  1577.           information shown in the instruction box gives specific
  1578.           help for text fields.
  1579.  
  1580.           3    Press Help (F3) again to display the Template Help
  1581.                screen.
  1582.  
  1583.           A DataPerfect template is shown on screen.
  1584.  
  1585.           4    Press Help (F3) again to display the Feature List
  1586.                Help screen.
  1587.  
  1588.           The Feature List screen appears.
  1589.  
  1590.           When you want to exit a help message, press Enter.
  1591.  
  1592.           5    Press Enter to exit the help message and return to
  1593.                the panel.
  1594.  
  1595.           Your database definer may have added specific
  1596.           instructions about each application (Custom Help).  If
  1597.           so, this help message may appear on the screen without
  1598.           your assistance, or you may need to press Help (F3) to
  1599.           see a custom help message.  If a custom help message
  1600.           has been defined for a field, the Program Help screen
  1601.           will appear the second time you press Help.
  1602.  
  1603.           To see a custom help message,
  1604.  
  1605.           6    Use Tab to move to the State field.
  1606.  
  1607.           The help message appears at the top of the screen if
  1608.           Auto-Help is on.  If the help message does not appear
  1609.           at the top of the screen, press Help to display the
  1610.           help message, then press Enter to return to the panel.
  1611.  
  1612.   Perform a Lookup
  1613.  
  1614.           You can use Lookup (F8) or Up Arrow to look through,
  1615.           locate, and retrieve records in a database.  You can
  1616.           perform a lookup from any field in a panel.
  1617.  
  1618.           1    Use Shift-Tab to move the cursor to the Last Name
  1619.                field.
  1620.  
  1621.           2    Press Lookup (F8) or Up Arrow to display the
  1622.                lookup list.
  1623.  
  1624.           A lookup list (a sorted list of records) appears at the
  1625.           top of the screen.  Because each record appears as one
  1626.           line, only a few of the fields of each record are
  1627.           displayed.  These fields can be determined by the
  1628.           database definer.  The record currently displayed in
  1629.           the panel is highlighted in the lookup list.
  1630.  
  1631.           You can move through a lookup list with the following
  1632.           keys:
  1633.  
  1634.                Up Arrow/Down Arrow
  1635.                Moves up/down to the next record.
  1636.  
  1637.                Home, Up Arrow/Down Arrow
  1638.                Page Up/Page Down
  1639.                Plus (+) or Minus (-) on Numeric Keypad
  1640.                Moves to the top/bottom of the displayed list.
  1641.  
  1642.                Home, Home, Up Arrow/Down Arrow
  1643.                Moves to the beginning/end of the list of records.
  1644.  
  1645.           3    Type a plus sign (+) on the numeric keypad three
  1646.                times.
  1647.  
  1648.           Notice how the cursor scrolls through the list.
  1649.  
  1650.           4    Type a minus sign (-) on the numeric keypad twice.
  1651.  
  1652.           Notice how the cursor scrolls through the list.
  1653.  
  1654.           5    Press Home, Home, Down Arrow to move the cursor to
  1655.                the end of the list.
  1656.  
  1657.           6    Press Home, Home, Up Arrow to move the cursor to
  1658.                the beginning of the list.
  1659.  
  1660.           If you know the first few characters in a field, you
  1661.           can type them to move quickly to the desired record. 
  1662.           DataPerfect is not case sensitive when performing a
  1663.           search in the lookup list (that is, it doesn't matter
  1664.           whether you type lowercase or uppercase letters).
  1665.  
  1666.           7    Type s to move the cursor to the record in the
  1667.                lookup list for Christian F. Sergeant.
  1668.  
  1669.           Notice that an "S" appears embedded in the top line of
  1670.           the box containing the lookup list.
  1671.  
  1672.           8    Press any arrow key to reset the search conditions
  1673.                before looking for another record.
  1674.  
  1675.           If you do not press an arrow key to indicate that you
  1676.           want to look for a new record, DataPerfect uses your
  1677.           previous search (s) and adds any new letters you type. 
  1678.           For example, if you now type o, DataPerfect searches
  1679.           for a last name beginning with "so."  The search
  1680.           conditions are also reset each time you press Enter to
  1681.           retrieve a record from the list.
  1682.  
  1683.           9    Type o to move the cursor to the record in the
  1684.                     lookup list for Troy Jacob Oakes.
  1685.  
  1686.           An "O" appears above the lookup list.
  1687.  
  1688.           10   Press any arrow key to look for another record.
  1689.  
  1690.           11   Type
  1691.  
  1692.                     fra
  1693.  
  1694.                to move the cursor to the record in the lookup
  1695.                list for Karen C. Frame.
  1696.  
  1697.           Again, the letters you typed appear above the lookup
  1698.           list.
  1699.  
  1700.   Retrieve a Record
  1701.  
  1702.           Once you have located a record on the lookup list, you
  1703.           can display it in the panel by pressing Enter.
  1704.  
  1705.           1    With the cursor on the record in the lookup list
  1706.                for Karen C. Frame, press Enter.
  1707.  
  1708.           Notice that the cursor moves back to the panel and
  1709.           displays the record for Karen C. Frame.
  1710.  
  1711.   Cancel a Record Retrieval
  1712.  
  1713.           If you do not want to retrieve a record during a
  1714.           lookup, press Cancel.
  1715.  
  1716.           1    Press  Lookup (F8) or Up Arrow to display the
  1717.                lookup list.
  1718.  
  1719.           2    Type o to move the cursor to the record in the
  1720.                lookup list for Troy Jacob Oakes.
  1721.  
  1722.           3    Press Cancel (F1).
  1723.  
  1724.           Notice that the Karen C. Frame record still is
  1725.           displayed in the panel (instead of the Troy Jacob Oakes
  1726.           record).
  1727.  
  1728.   Exit the Database
  1729.  
  1730.           To exit the database,
  1731.  
  1732.           1    Press Exit (F7) to return to the panel list.
  1733.  
  1734.           2    Press Exit again to return to the database list. €  Using a Database 2:  Entering Data
  1735.  
  1736.           Now that you know how to move around in a database, you
  1737.           are ready to learn how to enter and save data.
  1738.  
  1739.           This lesson teaches you how to enter data, how to
  1740.           create a new record, and how to save the data you enter
  1741.           in a database.  You are also introduced to various
  1742.           formats available for individual fields in DataPerfect.
  1743.  
  1744.           You will enter data in the Customer Information panel
  1745.           of the CLIENT2 database.
  1746.  
  1747.   Start the Lesson
  1748.  
  1749.           The database you will use in this lesson is called
  1750.           CLIENT2.  Because you will be making changes to the
  1751.           database, it is important that you use a copy of the
  1752.           database files on the DataPerfect Test Drive diskette
  1753.           and not the actual files themselves.  This will allow
  1754.           you or others to complete this lesson again in the
  1755.           future.
  1756.  
  1757.           To start the lesson,
  1758.  
  1759.           1    Start DataPerfect (DPT).
  1760.  
  1761.           2    Select Change Directory (2), then enter the name
  1762.                of the personal directory to which you copied the
  1763.                CLIENT2 database.
  1764.  
  1765.           3    With the cursor on the CLIENT2 database, press
  1766.                Enter to display the panel list.
  1767.  
  1768.   Enter the Customer Information Panel
  1769.  
  1770.           To enter the Customer Information panel,
  1771.  
  1772.           1    With the cursor positioned on the Customer
  1773.                Information panel, press Enter to enter the panel.
  1774.  
  1775.           The Customer Information panel appears.
  1776.  
  1777.   Enter Data Using Different Field Formats
  1778.  
  1779.           Some fields in a database may contain numbers,
  1780.           uppercase letters, and lowercase letters, while others
  1781.           may contain only numbers or only uppercase letters.  As
  1782.           you create a new record in the CLIENT2 database, you
  1783.           will become familiar with several different field
  1784.           formats.
  1785.  
  1786.           1    Press Create (F9).
  1787.  
  1788.           The record for Jane M. Burnett disappears, and a new
  1789.           record appears which is blank, except for the Customer
  1790.           ID field.  The Customer ID has been formatted as an
  1791.           automatic incrementing field.  Each time a record is
  1792.           created, the number in this field increases by one.
  1793.           Notice that the message "Creating Record" appears in
  1794.           the upper left corner of the screen, indicating you
  1795.           are now in Create mode.
  1796.  
  1797.           You are ready to enter data in the new record.
  1798.  
  1799.           2    Type
  1800.  
  1801.                     Harrison
  1802.  
  1803.                in the Last Name field, then press Tab to move to
  1804.                the next field.
  1805.  
  1806.           3    Type
  1807.  
  1808.                     Darrell
  1809.  
  1810.                in the First Name field, then press Tab.
  1811.  
  1812.           4    Type
  1813.  
  1814.                     Matthew
  1815.  
  1816.                as the middle name, then press Tab to move to the
  1817.                Address field.
  1818.  
  1819.           5    Type
  1820.  
  1821.                     403 Poplar Circle
  1822.  
  1823.                as the address, then press Enter to move to the
  1824.                second line of the Address field.
  1825.  
  1826.           The Address field is formatted as a text field.  When
  1827.           you press Enter in a text field, the cursor does not
  1828.           move to the next field in the record.  Instead, a hard
  1829.           return is inserted.  You must press Tab to move the
  1830.           cursor from a text field.
  1831.  
  1832.           6    Type
  1833.  
  1834.                     Apt. #3
  1835.  
  1836.                and press Tab to move to the City field.
  1837.  
  1838.           7    Type
  1839.  
  1840.                     Brooklyn
  1841.  
  1842.                in the City field, then press Tab.
  1843.  
  1844.           8    Type
  1845.  
  1846.                     ny
  1847.  
  1848.                in the State field.
  1849.  
  1850.           The lowercase "ny" is converted to "NY" because the
  1851.           State field is designated to change all lowercase
  1852.           letters to uppercase.
  1853.  
  1854.           The State field is also designated as an auto-enter
  1855.           field.  When an auto-enter field is entirely filled
  1856.           with data, the cursor moves to the next field (you do
  1857.           not need to press Tab or Enter).
  1858.  
  1859.           9    Type
  1860.  
  1861.                     11221
  1862.  
  1863.                in the ZIP field, then press Tab.
  1864.  
  1865.           10   Press Tab to leave the Home Phone field blank.
  1866.  
  1867.           You do not always have to enter information in every
  1868.           field.  However, if you leave a field blank which has
  1869.           been formatted to require information, a message
  1870.           appears when you try to save the record.  When
  1871.           instructed to insert information in one of these
  1872.           fields, type the information, then press Tab.
  1873.  
  1874.           The Work Phone field can contain only numbers (letters
  1875.           are not accepted).  The hyphen is part of the existing
  1876.           field format, so it is not necessary for you to enter a
  1877.           hyphen.
  1878.  
  1879.           11   Type
  1880.  
  1881.                     7185551000
  1882.  
  1883.                in the Work Phone field.
  1884.  
  1885.           If you make a mistake, press Shift-Tab to return the
  1886.           cursor to the field, then type over the incorrect
  1887.           digit(s).
  1888.  
  1889.           A text field (such as the Comments field) can contain
  1890.           many lines of text.
  1891.  
  1892.           12   Type
  1893.  
  1894.                     Mr. Harrison buys for Canadian Imports, Inc. 
  1895.                     Give him a 10% discount on purchases over
  1896.                     $1,000.
  1897.  
  1898.                in the Comments field, then press Enter.
  1899.  
  1900.           Notice that pressing Enter does not move the cursor to
  1901.           the next field.  Instead, pressing Enter in a text
  1902.           field inserts a hard return.
  1903.  
  1904.           13   Press Tab to exit the Comments field.
  1905.  
  1906.   Save a Record and Create Another
  1907.  
  1908.           To create more than one record in succession, press
  1909.           Create to save the current record and prepare the
  1910.           screen to enter another record.  (Press Help (F3) after
  1911.           pressing Create if you need additional information.)
  1912.  
  1913.           1    Press Create (F9) to save the record currently on
  1914.                the screen and to prepare the screen for creating
  1915.                another record.
  1916.  
  1917.           The record for Darrell Matthew Harrison is now saved in
  1918.           the Customer Information panel, and you're ready to
  1919.           create a record for yourself.
  1920.  
  1921.           2    With the cursor on the Last Name field, enter your
  1922.                last name.
  1923.  
  1924.           3    Enter your first and middle names in the
  1925.                appropriate fields.
  1926.  
  1927.           4    Type your street address.  If your address is more
  1928.                than one line long, press Enter to insert a hard
  1929.                return between lines.
  1930.  
  1931.           5    Press Tab to move to the City field, then enter
  1932.                the name of your city.
  1933.  
  1934.           6    Type the two-digit abbreviation for the state in
  1935.                which you live.
  1936.  
  1937.           7    Enter your ZIP Code.
  1938.  
  1939.           8    Type your home and work phone numbers in the
  1940.                appropriate fields.
  1941.  
  1942.           The cursor is now on the Comments field.
  1943.  
  1944.           9    Type
  1945.  
  1946.                     Requested a copy of our most recent catalog.
  1947.  
  1948.                 and any other comments you would like to include.
  1949.  
  1950.   Save a Record Without Creating Another
  1951.  
  1952.           When you want to save a record without creating
  1953.           another, press Save.  You can also press Exit to save
  1954.           the record and exit the panel.
  1955.  
  1956.           1    Press Save (F10) once to save the data you entered
  1957.                in the last field.
  1958.  
  1959.           2    Press Save again to save your newly created
  1960.                record.
  1961.  
  1962.           3    Press Exit (F7) until you return to the panel
  1963.                list.
  1964.  
  1965.           If Auto-Save is on, the record is saved whenever data
  1966.           is entered in the last field in the record (after you
  1967.           have pressed Tab, Enter, or a Shift-arrow key to move
  1968.           off the field). €  Using a Database 3:  Editing Data
  1969.  
  1970.           Now that you know how to enter data in a database, you
  1971.           are ready to learn how to modify (edit) previously
  1972.           entered data.  This lesson teaches you how to edit data
  1973.           in a record and how to copy data from one record to
  1974.           another.  You also learn how to delete a record.
  1975.  
  1976.   Start the Lesson
  1977.  
  1978.           The database you will use in this lesson is called
  1979.           CLIENT2.  Because you will be making changes to the
  1980.           database, it is important that you use a copy of the
  1981.           database files on the DataPerfect Test Drive diskette
  1982.           and not the actual files themselves.  This will allow
  1983.           you or others to complete this lesson again in the
  1984.           future.
  1985.  
  1986.           If you have not copied the database to another
  1987.           directory, or if you have already been through this
  1988.           lesson since you last copied the files,
  1989.  
  1990.           1    Copy CLIENT2.* from the DPT directory to 
  1991.                another directory.
  1992.  
  1993.           To start the lesson,
  1994.  
  1995.           2    Start DataPerfect (DPT).
  1996.  
  1997.           3    Select Change Directory (2), then enter the name
  1998.                of the personal directory to which you copied the
  1999.                CLIENT2 database.
  2000.  
  2001.           4    With the cursor on the CLIENT2 database, press
  2002.                Enter to display the panel list.
  2003.  
  2004.   Edit a Record
  2005.  
  2006.           You can edit a record by typing over existing
  2007.           information in a field.  DataPerfect then switches into
  2008.           Edit mode when you move to the next field or press Save
  2009.           or Exit.
  2010.  
  2011.           1    From the panel list, enter the Customer
  2012.                Information panel.
  2013.  
  2014.           2    With the cursor on the Last Name field, press Up
  2015.                Arrow or Lookup (F8).
  2016.  
  2017.           3    Type j to move the cursor to the record in the
  2018.                lookup list for Rosanne Jacobsen.
  2019.  
  2020.           4    Press Enter to retrieve the record for Rosanne
  2021.                Jacobsen.
  2022.  
  2023.           5    Press Tab to move the cursor to the First Name
  2024.                field.
  2025.  
  2026.           6    Use Right Arrow to move to the "a" in Rosanne.
  2027.  
  2028.           7    Type an e to change the spelling of Roseanne.
  2029.  
  2030.           8    Press Save (F10) to save the edited field.
  2031.  
  2032.           Notice that you are now in Edit mode.
  2033.  
  2034.           9    Press Save again to save the edited record and
  2035.                return to Browse mode.
  2036.  
  2037.           You can also edit a record using Edit and Insert.
  2038.  
  2039.           10   Press Shift-Tab or Escape (Esc) to move the cursor
  2040.                to the Last Name field.
  2041.  
  2042.           11   Press Up Arrow to perform a lookup.
  2043.  
  2044.           12   Type q to move to the record in the lookup list
  2045.                for Leslie Marie Quenton.
  2046.  
  2047.           13   Press Enter to retrieve the record.
  2048.  
  2049.           14   Press Edit (F6) to go into Edit mode.
  2050.  
  2051.           15   Move the cursor to the letter "o" in "Quenton."
  2052.  
  2053.           16   Press Insert (Ins) to go into Typeover mode.
  2054.  
  2055.           The "Typeover" message appears at the top of the
  2056.           screen.
  2057.  
  2058.           17   Type i to replace the "o" in "Quenton."
  2059.  
  2060.           18   Press Save (F10) to save the edited field.
  2061.  
  2062.           19   Press Save again to save the edited record.
  2063.  
  2064.   Block and Move Text
  2065.  
  2066.           You can use the Block and Move features to copy text
  2067.           from one text field to another.
  2068.  
  2069.           1    Press Up Arrow, then type 
  2070.  
  2071.                     fri
  2072.  
  2073.                to move to the record in the lookup list for
  2074.                Stanley W. Fritzke.
  2075.  
  2076.           2    Press Enter, then use Escape (Esc) to move the
  2077.                cursor to the Comments field.
  2078.  
  2079.           3    Press Left Arrow to allow you to edit the Comments
  2080.                field.
  2081.  
  2082.           4    Press Block (Alt-F4) to turn on Block.
  2083.  
  2084.           The "Block" message appears at the top of the screen.
  2085.  
  2086.           5    Press Home, Right Arrow to move the cursor to the
  2087.                end of the line.
  2088.  
  2089.           6    Press Save (F10) once to save the blocked text
  2090.                into memory.
  2091.  
  2092.           7    Press Save twice to save the field and the record.
  2093.  
  2094.           8    Press Page Down once to move to the record for
  2095.                Thomas James Grant.
  2096.  
  2097.           9    Press Left Arrow to allow you to edit the Comments
  2098.                field.
  2099.  
  2100.           10   Press Move (Ctrl-F4) to retrieve the marked block
  2101.                of text.
  2102.  
  2103.           11   Press Save twice to save the field and the record.
  2104.  
  2105.           12   Press Page Down until the record for Heidi G.
  2106.                Johnson appears on the screen.
  2107.  
  2108.           13   Repeat steps 9 through 11 to retrieve the same
  2109.                block of text for the Heidi G. Johnson record.
  2110.  
  2111.   Bold Text
  2112.  
  2113.           You can bold characters in a text field.  To bold text
  2114.           as you type, press Attributes (Shift-F6), then select
  2115.           Bold On/Off (1) to turn on Bold.  Type the text you
  2116.           want bolded, then press Attributes and select Bold
  2117.           On/Off again to turn off Bold.
  2118.  
  2119.           You can bypass the Attributes menu by pressing F6 (the
  2120.           Bold key in WordPerfect) to turn Bold on and off.
  2121.  
  2122.           To bold existing text in a text field,
  2123.  
  2124.           1    Use Tab to move the cursor to the Last Name field.
  2125.  
  2126.           2    Press Up Arrow or Lookup (F8) to perform a lookup.
  2127.  
  2128.           3    Type
  2129.                     cr
  2130.  
  2131.                to move to the record in the lookup list for
  2132.                Howard Jay Criddle.
  2133.  
  2134.           4    Press Enter to retrieve the record.
  2135.  
  2136.           5    Use Escape (Esc) or Shift-Tab to move the cursor
  2137.                to the Comments field.
  2138.  
  2139.           6    Press Down Arrow to move the cursor to the "N" in
  2140.                No.
  2141.  
  2142.           7    Press Block (Alt-F4) to turn on Block.
  2143.  
  2144.           8    Press Home, Right Arrow to move the cursor to the
  2145.                end of the line.
  2146.  
  2147.           You now have blocked the text you want to bold.
  2148.  
  2149.           9    Press Attributes (Shift-F6), then select Bold
  2150.                On/Off (1).
  2151.  
  2152.                or
  2153.  
  2154.                Press F6 (the WordPerfect Bold key).
  2155.  
  2156.           10   Press Save (F10).
  2157.  
  2158.           Notice that you are now in Edit mode.
  2159.  
  2160.           11   Press Save again to save the change.
  2161.  
  2162.   Underline Text
  2163.  
  2164.           You can underline characters in a text field.  To
  2165.           underline text as you type, press Attributes (Shift-
  2166.           F6), then select Underline On/Off (2) to turn on
  2167.           Underline.  Type the text you want underlined, then
  2168.           press Attributes and select Underline On/Off again to
  2169.           turn off Underline.
  2170.  
  2171.           You can bypass the Attributes menu by pressing F8 (the
  2172.           Underline key in WordPerfect) to turn underline on and
  2173.           off.
  2174.  
  2175.           To underline existing text in a text field,
  2176.  
  2177.           1    Use Tab to move the cursor to the Last Name field.
  2178.  
  2179.           2    Press Up Arrow or Lookup (F8) to perform a lookup.
  2180.  
  2181.           3    Type t to move to the record in the lookup list
  2182.                for David L. Tolman.
  2183.  
  2184.           4    Press Enter to retrieve the record.
  2185.  
  2186.           5    Use Escape or Shift-Tab to move the cursor to the
  2187.                Comments field.
  2188.  
  2189.           6    Use the arrow keys to move the cursor to the "I"
  2190.                in Imports.
  2191.  
  2192.           7    Press Block (Alt-F4) to turn on Block.
  2193.  
  2194.           8    Press Right Arrow until the cursor is positioned
  2195.                on the period following International.
  2196.  
  2197.           You've now blocked the text you want to underline.
  2198.  
  2199.           9    Press Attributes (Shift-F6), then select Underline
  2200.                On/Off (2).
  2201.  
  2202.                or
  2203.  
  2204.                Press F8 (the WordPerfect Underline key).
  2205.  
  2206.           10   Press Save (F10).
  2207.  
  2208.           Notice that you are now in Edit mode.
  2209.  
  2210.           11   Press Save (F10) to save the change.
  2211.  
  2212.   Use Select to Copy Data
  2213.  
  2214.           Use Select (F4) to copy information from a background
  2215.           record (the most recently displayed record in the
  2216.           panel).
  2217.  
  2218.           1    Press Create (F9) to create a new record.
  2219.  
  2220.           2    Enter the information you want in the Last, First,
  2221.                and Middle Name fields.
  2222.  
  2223.           3    With the cursor on the Address field, press Select
  2224.                (F4) to retrieve the information from the Address
  2225.                field of the background record (the record for
  2226.                David L. Tolman).
  2227.  
  2228.           4    Use Select to copy the background record data for
  2229.                the City, State, ZIP, Home Phone, and Work Phone
  2230.                fields to the newly created record.
  2231.  
  2232.           Select always uses the value of the background record. 
  2233.           You can change the background record by performing a
  2234.           lookup and pressing Enter when the cursor is on the
  2235.           desired record.
  2236.  
  2237.           5    When you finish entering the information, press
  2238.                Save (F10) to save the record.
  2239.  
  2240.   Delete a Record
  2241.  
  2242.           Pressing Remove (Shift-F5) deletes the record on which
  2243.           the cursor is positioned.  Now you'll delete the record
  2244.           you created for Darrell Matthew Harrison in Lesson 2.
  2245.  
  2246.           1    Use Tab to move the cursor to the Last Name field.
  2247.  
  2248.           2    Press Up Arrow or Lookup (F8) to perform a lookup.
  2249.  
  2250.           3    Type 
  2251.  
  2252.                     ha
  2253.  
  2254.                to move the cursor to the record in the lookup
  2255.                list for Darrell Matthew Harrison.
  2256.  
  2257.           4    Press Remove (Shift-F5) or Delete (Del).
  2258.  
  2259.           5    Type y to confirm the deletion of the record.
  2260.  
  2261.           Using a lookup list is not the only way to delete a
  2262.           record.  You can delete a record that is displayed in
  2263.           the panel by pressing Remove (Shift-F5), and then
  2264.           confirming the deletion.
  2265.  
  2266.           6    Press Exit (F7) until you return to the panel
  2267.                list. €  Using a Database 4:  Using Links
  2268.  
  2269.           A link connects two panels and establishes
  2270.           relationships between records.  Links let you move
  2271.           between panels in a database, and allow panels to share
  2272.           common data.  If links did not exist, the only way you
  2273.           could move from panel to panel would be to exit the
  2274.           current panel and select another one from the panel
  2275.           list.  This lesson explains the difference between a
  2276.           source panel and a destination panel, and shows you how
  2277.           to access data in a linked panel, and how to identify a
  2278.           related record.
  2279.  
  2280.           For information about features found only in panel
  2281.           links or only in data links, see Lessons 5 and 6.
  2282.  
  2283.   Start the Lesson
  2284.  
  2285.           The database you will use in this lesson is called
  2286.           CLIENT2.  Because you will be making changes to the
  2287.           database, it is important that you use a copy of the
  2288.           database files on the DataPerfect Test Drive diskette
  2289.           and not the actual files themselves.  This will allow
  2290.           you or others to complete this lesson again in the
  2291.           future.
  2292.  
  2293.           If you have not copied the database to another
  2294.           directory, or if you have already been through this
  2295.           lesson since you last copied the files,
  2296.  
  2297.           1    Copy CLIENT2.* from the DPT directory to 
  2298.                another directory.
  2299.  
  2300.           To start the lesson,
  2301.  
  2302.           2    Start DataPerfect (DPT).
  2303.  
  2304.           3    Select Change Directory (2), then enter the name
  2305.                of the personal directory to which you copied the
  2306.                CLIENT2 database.
  2307.  
  2308.           4    With the cursor on the CLIENT2 database, press
  2309.                Enter to display the panel list.
  2310.  
  2311.   Look at Some Links
  2312.  
  2313.           DataPerfect uses the terms panel link and data link to
  2314.           describe the two types of links which connect files.  A
  2315.           panel link is marked with a rectangle (≤) on the screen. 
  2316.           A data link is marked with a diamond character on the
  2317.           screen.
  2318.  
  2319.           1    Move the cursor to Invoices then press Enter.
  2320.  
  2321.           The panel in which a link originates (and where the
  2322.           link symbol is found) is the source panel.  The panel
  2323.           to which the link leads is the destination panel.  A
  2324.           panel can be both a source panel and a destination
  2325.           panel.  The Invoices panel is an example of this.  It
  2326.           is a source panel because it contains the Invoice Items
  2327.           link which leads to the Items Purchased panel.  It is a
  2328.           destination panel because you can move through the
  2329.           Invoices link from the Customer Information panel to
  2330.           access the Invoices panel.
  2331.  
  2332.   Move to the Nearest Link
  2333.  
  2334.           If your cursor is not positioned on a link, the easiest
  2335.           way to move it to the nearest link is to press Down
  2336.           Arrow or Down Panel (F5).
  2337.  
  2338.           If your cursor is already on a link, you must use Tab
  2339.           or Enter to move to another link.
  2340.  
  2341.           1    Press Tab to move the cursor off of the Customer
  2342.                ID link.
  2343.  
  2344.           2    Press Down Arrow or Down Panel (F5) to move the
  2345.                cursor to the Invoice Items panel link.
  2346.  
  2347.           Once your cursor is positioned on a link, you can move
  2348.           through the link to the destination panel.
  2349.  
  2350.   Move Through a Link
  2351.  
  2352.           When you use Down Arrow to move through a link to a
  2353.           destination panel, you can only access records that
  2354.           have one or more fields in common with the source panel
  2355.           record (see Look at Related Records below).  If there
  2356.           are no related records, pressing Down Arrow to move
  2357.           through a link will display a message stating that
  2358.           there are no related records in the destination panel.
  2359.  
  2360.           If the cursor is already positioned on a link, pressing
  2361.           Down Panel (F5) moves the cursor through the link and
  2362.           starts a new record in the destination panel.  You do
  2363.           not want to create a new record at this time, so you'll
  2364.           use Down Arrow instead.  (You will learn more about
  2365.           creating a new record with Down Panel in lessons 5 and 6.
  2366.  
  2367.           1    With the cursor on the Invoice Items panel link,
  2368.                press Down Arrow to move through the panel link to
  2369.                the Items Purchased panel.
  2370.  
  2371.           The panel displayed in the middle of your screen is the
  2372.           destination panel because it is the panel to which the
  2373.           link leads.
  2374.  
  2375.           2    With the Items Purchased panel on the screen,
  2376.                press Up Arrow to perform a lookup.
  2377.  
  2378.           Because you entered the link using Down Arrow, the only
  2379.           records in the lookup list are for the items purchased
  2380.           on Invoice Number 00001, the same Invoice Number on the
  2381.           record in the Invoices panel (the source panel).
  2382.  
  2383.           3    Press Exit (F7) twice to return to the Invoices
  2384.                panel.
  2385.  
  2386.   Lookup on a Panel Link
  2387.  
  2388.           You can perform a lookup with your cursor on a panel
  2389.           link.  If you use Up Arrow to perform a lookup, the
  2390.           lookup list displays records from the source panel.  If
  2391.           you use Lookup (F8) to perform a lookup, the lookup
  2392.           list displays only related records from the destination
  2393.           panel.
  2394.  
  2395.           To see how Lookup and Up Arrow work when the cursor is
  2396.           on a link,
  2397.  
  2398.           1    With the cursor on the Invoice Items panel link,
  2399.                press Up Arrow to perform a lookup.
  2400.  
  2401.           Notice that records from the source panel (the Invoices
  2402.           panel) are displayed in the lookup list.  The fields in
  2403.           this lookup list, from left to right, are Customer ID, 
  2404.           the hidden field, and Invoice Number.
  2405.  
  2406.  
  2407.           2    Press Exit (F7) to return to the Invoices panel.
  2408.  
  2409.           3    Press Lookup (F8) to perform a lookup.
  2410.  
  2411.           Notice that the related records from the destination
  2412.           panel (the Items Purchased panel) are displayed in the
  2413.           lookup list.  Both records are related to the record in
  2414.           the source panel (invoice number 00001).
  2415.  
  2416.           4    Press Exit (F7) twice to return to the panel list.
  2417.  
  2418.   Look at Related Records
  2419.  
  2420.           A related record is a record that shares one or more
  2421.           common fields with a record in another panel.
  2422.  
  2423.           To observe an example of related records from the
  2424.           Customer Information panel and the Payments panel,
  2425.  
  2426.           1    Move the cursor to the Customer Information panel
  2427.                in the panel list, then press Enter.
  2428.  
  2429.           2    Press Lookup (F8) or Up Arrow to perform a lookup.
  2430.  
  2431.           3    Type 
  2432.  
  2433.                     cr
  2434.  
  2435.                to move to the record in the lookup list for
  2436.                Howard Jay Criddle (Customer ID Number 00004).
  2437.  
  2438.           4    Press Enter to retrieve the record.
  2439.  
  2440.           5    Press Down Panel (F5) to move the cursor to the
  2441.                Payments panel link.
  2442.  
  2443.           6    Press Down Arrow to move through the link to the
  2444.                Payments panel.
  2445.  
  2446.           Remember that using Down Arrow to move through a link
  2447.           lets you access only related records.
  2448.  
  2449.           7    Press Up Arrow to perform a lookup of the related
  2450.                records (Howard Jay Criddle's payment records).
  2451.  
  2452.           Notice that Customer ID Number 00004 is a field in the
  2453.           payment record in the lookup list.  The record for
  2454.           Howard Jay Criddle in the Customer Information panel
  2455.           also contains a field for Customer ID Number 00004. 
  2456.           Because both records contain the same data in the same
  2457.           field, they are known as related records.
  2458.  
  2459.           8    Press Exit (F7) until you return to the panel
  2460.                list. €  Using a Database 5:  Using Panel Links
  2461.  
  2462.           A panel link is represented on the screen by a
  2463.           rectangle (≤).  It stands alone; the database
  2464.           definer can place a panel link anywhere in a panel.  It
  2465.           does not need to be attached to a field (as a data link
  2466.           does).
  2467.  
  2468.           This lesson discusses link features found only in panel
  2469.           links.  You'll use a panel link to enter data in a
  2470.           destination panel, see how totals work through panel
  2471.           links, and look at a window in the Invoices panel.
  2472.  
  2473.           For general information on links, see Lesson 4:  Using
  2474.           Links.
  2475.  
  2476.   Start the Lesson
  2477.  
  2478.           The database you will use in this lesson is called
  2479.           CLIENT2.  Because you will be making changes to the
  2480.           database, it is important that you use a copy of the
  2481.           database files on the DataPerfect Test Drive diskette
  2482.           and not the actual files themselves.  This will allow
  2483.           you or others to complete this lesson again in the
  2484.           future.
  2485.  
  2486.           If you have not copied the database to another
  2487.           directory, or if you have already been through this
  2488.           lesson since you last copied the files,
  2489.  
  2490.           1    Copy CLIENT2.* from the DPT directory to another
  2491.                directory.
  2492.  
  2493.           To start the lesson,
  2494.  
  2495.           2    Start DataPerfect (DPT).
  2496.  
  2497.           3    Select Change Directory (2), then enter the name
  2498.                of the personal directory to which you copied the
  2499.                CLIENT2 database.
  2500.  
  2501.           4    With the cursor on the CLIENT2 database, press
  2502.                Enter to display the panel list.
  2503.  
  2504.   Enter Data Through a Panel Link
  2505.  
  2506.           A panel link lets you access related records in a
  2507.           destination panel.  You do not need to exit the current
  2508.           panel to access a linked panel.  Instead, you can move
  2509.           from one panel to another through a panel link.
  2510.  
  2511.           HALVA International just received a payment from Jane
  2512.           M. Burnett for the items she purchased on Invoice
  2513.           Number 00001.  The payment was a check for $100.  You
  2514.           will add the payment to her account.
  2515.  
  2516.           To enter the payment,
  2517.  
  2518.           1    Move the cursor to Customer Information, then press 
  2519.                Enter.
  2520.  
  2521.           The Customer Information record for Jane M. Burnett is
  2522.           displayed on your screen.  Note that the amount shown
  2523.           in the Balance Due field is $115.31.
  2524.  
  2525.           2    Press Down Arrow to move to the nearest link (the
  2526.                Payments panel link).
  2527.  
  2528.           Now move to the Payments panel.
  2529.  
  2530.           3    Press Down Panel (F5) to move through the link and
  2531.                create a new record in the destination panel
  2532.                (the Payments panel).
  2533.  
  2534.           The current date is inserted automatically by the date
  2535.           formula.  If there were no formula to insert the current
  2536.           date, you could have pressed Edit (F6).  You can use
  2537.           Edit to insert the current date in any date field in
  2538.           DataPerfect.
  2539.  
  2540.           4    Tab to the Amount field, type
  2541.  
  2542.                     100
  2543.  
  2544.                as the amount paid, then press Tab.
  2545.  
  2546.           5    Press Exit (F7) to save the record and return to
  2547.                the source panel (the Customer Information panel).
  2548.  
  2549.           Notice the Balance Due field.  The original Balance Due
  2550.           for Jane M. Burnett's account was $115.31.  However,
  2551.           since a check for $100 was credited to her account, the
  2552.           Balance Due is now $15.31.
  2553.  
  2554.           The definer of CLIENT2 has used the panel links to
  2555.           store a total in the Balance Due field.  The Balance
  2556.           Due is based on the total amount of a customer's
  2557.           invoice(s) (recorded in the Invoices panel) and the
  2558.           amount of payments which have been made (recorded in
  2559.           the Payments panel).
  2560.  
  2561.           6    Press Exit to return to the panel list.
  2562.  
  2563.   Look at a Window
  2564.  
  2565.           A window is a viewing area in a source panel that
  2566.           displays related records from a destination panel. 
  2567.           Only the database definer can create a window.
  2568.  
  2569.           To see a window,
  2570.  
  2571.           1    Move the cursor to Invoices in the panel list,
  2572.                then press Enter.
  2573.  
  2574.           The data in the Items Purchased, Price, QTY, and Ext.
  2575.           Price columns is not really part of the Invoices panel.
  2576.  
  2577.           The Invoices panel has a window in the middle of it. 
  2578.           This window displays information from the Items
  2579.           Purchased panel.
  2580.  
  2581.           For example, the invoice now on the screen tells you
  2582.           that Jane M. Burnett purchased two music boxes on May
  2583.           10, 1989:  (1) Always, and (2) Black Forest Summer. 
  2584.           The part of the panel that displays this information is
  2585.           simply a window to the Items Purchased panel.
  2586.  
  2587.           A window can be created with or without a border around
  2588.           it.  For the Invoice panel, the database definer
  2589.           created a window that does not have a border around it.
  2590.  
  2591.           2    Press Exit (F7) to return to the panel list. €  Using a Database 6:  Using Data Links
  2592.  
  2593.           Unlike a panel link (which stands alone), a data   
  2594.           link is attached to a field.  A data link is
  2595.           represented on the screen by a diamond character, and
  2596.           it may enable you to perform data checking.
  2597.  
  2598.           In this lesson you enter data through a data link, and
  2599.           see how data checking works.
  2600.  
  2601.           For general information on links, see Lesson 4.
  2602.  
  2603.   Start the Lesson
  2604.  
  2605.           The database you will use in this lesson is called
  2606.           CLIENT2.  Because you will be making changes to the
  2607.           database, it is important that you use a copy of the
  2608.           database files on the DataPerfect Test Drive diskette
  2609.           and not the actual files themselves.  This will allow
  2610.           you or others to complete this lesson again in the
  2611.           future.
  2612.  
  2613.           If you have not copied the database to another
  2614.           directory, or if you have already been through this
  2615.           lesson since you last copied the files,
  2616.  
  2617.           1    Copy CLIENT2.* from the DPT directory to a
  2618.                personal directory.
  2619.  
  2620.           To start the lesson,
  2621.  
  2622.           2    Start DataPerfect.
  2623.  
  2624.           3    Select Change Directory (2), then enter the name
  2625.                of the personal directory to which you copied the
  2626.                CLIENT2 database.
  2627.  
  2628.           4    With the cursor on the CLIENT2 database, press
  2629.                Enter to display the panel list.
  2630.  
  2631.   Enter Data Through a Data Link
  2632.  
  2633.           An item purchased by Cecily Ann Rhoton was mistakenly
  2634.           omitted from her invoice.  You'll add the item to her
  2635.           invoice through a data link.
  2636.  
  2637.           1    Move the cursor to Invoices, then press Enter to
  2638.                display the panel.
  2639.  
  2640.           2    Press Page Down until you find the invoice for
  2641.                items purchased by Cecily Ann Rhoton.
  2642.  
  2643.           To add an item to an invoice, you need to create an
  2644.           Items Purchased record.  Move through the link to the
  2645.           Items Purchased panel.
  2646.  
  2647.           3    Use Tab to move the cursor to the Invoice Items
  2648.                panel link.
  2649.  
  2650.           4    Press Down Panel (F5) to go through the link to the
  2651.                Items Purchased panel and create a new record.
  2652.                You will add a new item to the list of items
  2653.                purchased by Cecily Ann Rhoton on Invoice Number
  2654.                00010.
  2655.  
  2656.           5    With the cursor on the Item data link, press Up
  2657.                Arrow to perform a lookup of all items in stock.
  2658.  
  2659.           6    Type r to move the cursor to the record in the
  2660.                lookup list for Return to the Danube.
  2661.  
  2662.           7    Press Enter to add Return to the Danube to the
  2663.                Items Purchased panel.
  2664.  
  2665.           8    Press Tab to move the cursor to the QTY field,
  2666.                then type 1 to indicate the number purchased.
  2667.  
  2668.           9    Press Exit (F7) to save the record and return to
  2669.                the Invoices panel.
  2670.  
  2671.           Notice that Return to the Danube is now added to the
  2672.           invoice as an item purchased.  Also, the invoice total
  2673.           has changed to include the charge for the new music
  2674.           box.
  2675.  
  2676.   Use Data Checking
  2677.  
  2678.           Data checking is a feature that can be used with a data
  2679.           link.  When you enter data into a field with data
  2680.           checking, the feature checks to see if a related record
  2681.           exists in the destination panel.
  2682.  
  2683.           To see how data checking works, try to add an item
  2684.           which is not in the Items in Stock panel to the Items
  2685.           Purchased panel.
  2686.  
  2687.           1    With the cursor on the Invoice Items panel link,
  2688.                press Down Panel (F5) to initiate create mode in 
  2689.                the Items Purchased panel.
  2690.  
  2691.           2    Type
  2692.  
  2693.                     Grecian Urn
  2694.  
  2695.                as an item for the Items Purchased panel.
  2696.  
  2697.           3    Press Enter to move to the Price field.
  2698.  
  2699.           Because Grecian Urn is not found in the Items in Stock
  2700.           panel, a message tells you that you must perform a
  2701.           lookup and then select a value for the field.  This
  2702.           type of data checking will not let you create a new
  2703.           record in the destination panel.  Other types of data
  2704.           checking prompt you to create a new record or require
  2705.           that you create a new record.
  2706.  
  2707.           To add the correct record,
  2708.  
  2709.           4    Press Up Arrow twice to display the lookup list.
  2710.  
  2711.           5    Type
  2712.  
  2713.                     gr
  2714.  
  2715.                to move to the correct record (Grecian Holiday),
  2716.                then press Enter.
  2717.  
  2718.           6    Press Tab to move the cursor to the QTY field,
  2719.                then type 1 to indicate the number purchased.
  2720.  
  2721.           7    Press Exit (F7) to save the record and return to
  2722.                the Invoices panel.
  2723.  
  2724.           Notice that Grecian Holiday now appears on the invoice.
  2725.  
  2726.           8    Press Exit until you return to the panel list. €  Using a Database 7:  Searching for Records
  2727.  
  2728.           The DataPerfect Search feature lets you set three types
  2729.           of search conditions:  template search, range search,
  2730.           and formula search.  In this lesson you use a template
  2731.           search to find records with a particular phrase in a
  2732.           text field, and then use a range search to find records
  2733.           for customers in New York.  You are introduced to how
  2734.           DataPerfect lets you combine several search conditions
  2735.           at once.
  2736.  
  2737.   Start the Lesson
  2738.  
  2739.           The database you will use in this lesson is called
  2740.           CLIENT2.  Because you will be making changes to the
  2741.           database, it is important that you use a copy of the
  2742.           database files on the DataPerfect Test Drive diskette
  2743.           and not the actual files themselves.  This will allow
  2744.           you or others to complete this lesson again in the
  2745.           future.
  2746.  
  2747.           If you have not copied the database to another
  2748.           directory, or if you have already been through this
  2749.           lesson since you last copied the files,
  2750.  
  2751.           1    Copy CLIENT2.* from the DPT directory to 
  2752.                another directory.
  2753.  
  2754.           To start the lesson,
  2755.  
  2756.           2    Start DataPerfect (DPT).
  2757.  
  2758.           3    Select Change Directory (2), then enter the name
  2759.                of the personal directory to which you copied the
  2760.                CLIENT2 database.
  2761.  
  2762.           4    With the cursor on the CLIENT2 database, press
  2763.                Tab to display the panel list.
  2764.  
  2765.   Begin a Search
  2766.  
  2767.           To begin a search,
  2768.  
  2769.           1    With the cursor on Customer Information, press  
  2770.                Enter.
  2771.  
  2772.           2    From the Customer Information panel, press Forward
  2773.                Search (F2).
  2774.  
  2775.           The Search Options menu is displayed at the top of the
  2776.           screen.
  2777.  
  2778.   Enter a Search Condition
  2779.  
  2780.           In the steps below, you will perform a template search
  2781.           for the records of customers who receive 10% discounts
  2782.           on their purchases.  (A template is a word or number
  2783.           pattern.)
  2784.  
  2785.           To enter a search condition, you must first move to the
  2786.           field you want to search, and then select a Search
  2787.           option.
  2788.  
  2789.           1    Use Escape (Esc) to move the cursor to the
  2790.                Comments field.
  2791.  
  2792.           2    Select Specify Template (2).
  2793.  
  2794.           A prompt appears.
  2795.  
  2796.           3    Enter
  2797.  
  2798.                     *10% discount*
  2799.  
  2800.                as the template.
  2801.  
  2802.           Entering *10% discount* as the template tells
  2803.           DataPerfect to search for all occurrences of the phrase
  2804.           10% discount in the Comments field, regardless of what
  2805.           precedes or follows the phrase (the asterisks act as
  2806.           wildcards which represent multiple characters).
  2807.  
  2808.   Start the Search
  2809.  
  2810.           To begin searching through the records from the
  2811.           beginning of the file,
  2812.  
  2813.           1    Press Forward Search (F2).
  2814.  
  2815.           The search pauses when it locates the first record
  2816.           which matches the template (the record for Marshall H.
  2817.           Cameron).
  2818.  
  2819.           2    Press  Forward Search again to search for the next
  2820.                matching record.
  2821.  
  2822.   Reverse the Search
  2823.  
  2824.           Reverse Search reverses the direction of a search. 
  2825.           After you change directions, pressing Forward Search
  2826.           will continue searching in the reverse direction.  If
  2827.           you want to return to the original search direction,
  2828.           you must press Reverse Search again.
  2829.  
  2830.           1    Press Reverse Search (Shift-F2) to change the
  2831.                direction of the search and move to the previous
  2832.                matching record.
  2833.  
  2834.           The record for Marshall H. Cameron is again displayed
  2835.           on the screen.
  2836.  
  2837.           2    Press Reverse Search again to change the direction
  2838.                of the search, returning it to its original
  2839.                direction.
  2840.  
  2841.           3    Press Forward Search (F2) until you see the
  2842.                message at the top of your screen:  "Search to the
  2843.                end of the file completed."
  2844.  
  2845.   Enter an Additional Search Condition
  2846.  
  2847.           You can add to existing search conditions.  In the
  2848.           steps below, you will add a range search to find
  2849.           customers who live in the state of New York.
  2850.  
  2851.           To enter the additional search condition,
  2852.  
  2853.           1    Press Forward Search (F2).
  2854.  
  2855.           2    Select Display Conditions (4) to see the current
  2856.                search conditions.
  2857.  
  2858.           Notice that DataPerfect still searches for *10%
  2859.           discount*.  Existing search conditions are used until
  2860.           they are changed or deleted.
  2861.  
  2862.           3    Press Exit (F7) to return to the Search Options
  2863.                menu.
  2864.  
  2865.           4    Use Tab to move the cursor to the State field,
  2866.                then select Specify Range (1).
  2867.  
  2868.           You are prompted for a low range value.  To search for
  2869.           records of customers who live in New York, you must
  2870.           enter NY as both the low range value and the high range
  2871.           value.
  2872.  
  2873.           5    Enter
  2874.  
  2875.                     ny
  2876.  
  2877.                as the low range value.
  2878.  
  2879.           You are prompted for a high range value.  The value you
  2880.           entered as the low range (in this case, NY) appears as
  2881.           the default.
  2882.  
  2883.           6    Press Enter to accept ny (New York) as the high
  2884.                range value.
  2885.  
  2886.   Match Any/All Search Conditions
  2887.  
  2888.           When you enter two or more search conditions,
  2889.           DataPerfect assumes that you are looking for only those
  2890.           records that match all conditions.  If you want to find
  2891.           all records that match any of the conditions, you can
  2892.           select Match Any/All Conditions (6).
  2893.  
  2894.           1    Select Display Conditions (4) to see that
  2895.                DataPerfect will search for records which include
  2896.                10% discount in the Comments field AND NY (New
  2897.                York) in the State field.
  2898.  
  2899.           2    Press Exit (F7) to return to the Search Options
  2900.                menu.
  2901.  
  2902.           3    Select Match Any/All Conditions (6) to match any
  2903.                of the specified conditions.  
  2904.  
  2905.           Notice that DataPerfect accepts option 6 without giving
  2906.           any visual indication that it has done so.
  2907.  
  2908.           4    Select Display Conditions (4) again to see that
  2909.                DataPerfect now will search for records which
  2910.                include 10% discount in the Comments field OR NY
  2911.                (New York) in the State field.
  2912.  
  2913.           5    Press Exit to return to the Search Options menu.
  2914.  
  2915.           6    Press Forward Search (F2) several times to see the
  2916.                records which match either search condition.
  2917.  
  2918.           7    When the message "Search to the end of the file
  2919.                completed" appears at the top of the screen, press
  2920.                Forward Search once more to return to the Search
  2921.                Options menu.
  2922.  
  2923.   Reset Search Conditions
  2924.  
  2925.           Use Reset Search Conditions (5) to delete the current
  2926.           search conditions.
  2927.  
  2928.           1    From the Search Options menu, select Reset Search
  2929.                Conditions (5).
  2930.  
  2931.           The message is now displayed at the bottom of the
  2932.           Search Options menu:  "No search conditions have been
  2933.           defined."  The previous search conditions are deleted.
  2934.  
  2935.           2    Press Exit (F7) until the panel list appears on
  2936.                the screen. €  Using a Database 8:  Generating a Built-In Short Report
  2937.  
  2938.           Built-in short reports are the easiest way to extract
  2939.           data from a database.  They are preset report formats
  2940.           which can be used to export data, create WordPerfect
  2941.           secondary merge files, create disk files for use with
  2942.           other programs, or print lists of data.
  2943.  
  2944.           In this lesson you use a built-in short report to print
  2945.           a price list of items in stock.
  2946.  
  2947.   Start the Lesson
  2948.  
  2949.           The database you will use in this lesson is called
  2950.           CLIENT2.  Because you will be making changes to the
  2951.           database, it is important that you use a copy of the
  2952.           database files on the DataPerfect Test Drive diskette
  2953.           and not the actual files themselves.  This will allow you
  2954.           or others to complete this lesson again in the future.
  2955.  
  2956.           If you have not copied the database to another
  2957.           directory, or if you have already been through this
  2958.           lesson since you last copied the files,
  2959.  
  2960.           1    Copy CLIENT2.* from the DPT directory to 
  2961.                another directory.
  2962.  
  2963.           To start the lesson,
  2964.  
  2965.           2    Start DataPerfect.
  2966.  
  2967.           3    Select Change Directory (2), then enter the name
  2968.                of the personal directory to which you copied the
  2969.                CLIENT2 database.
  2970.  
  2971.           4    With the cursor on the CLIENT2 database, press
  2972.                Enter to display the panel list.
  2973.  
  2974.   Generate a Built-In Short Report
  2975.  
  2976.           A built-in short report can be generated as a price
  2977.           list for merchandise sold by HALVA International.
  2978.  
  2979.           To generate a price list and send a copy to the
  2980.           printer,
  2981.  
  2982.           1    From the panel list, move the cursor to Items
  2983.                in Stock, then press Enter.
  2984.  
  2985.           2    Press Report/Export (Shift-F7) to display the
  2986.                report list.
  2987.  
  2988.           3    Be sure the cursor is on Built-In Short Reports,
  2989.                then press Enter.
  2990.  
  2991.           The Built-In Report/Export menu is displayed on the
  2992.           screen.
  2993.  
  2994.           4    Select Report/Export Format (8) to display the
  2995.                Built-In Report Format Selection menu.
  2996.  
  2997.           5    Select Columns, Single Line (1) as the report
  2998.                format.
  2999.  
  3000.           The first two options on the Report menu, Printer
  3001.           On/Off (1) and Disk File On/Off (2), let you specify
  3002.           the destination of the report.  The current settings of
  3003.           these options appear at the top of the menu as the
  3004.           destination.  For this lesson, you will print the
  3005.           report.
  3006.  
  3007.           6    If "Printer" and the number of the correct printer
  3008.                port do not appear as the destination, use Printer
  3009.                On/Off (1) to toggle to the Printer Port menu.
  3010.  
  3011.           7    Specify the number of the printer port to which
  3012.                your printer is attached (usually LPT1).  If you
  3013.                do not know the number of your printer port,
  3014.                consult your dealer or database definer.
  3015.  
  3016.           8    If "Create Disk File" or "Append to Disk File" 
  3017.                appears as the destination, select Disk File
  3018.                On/Off (2) to toggle it off.
  3019.  
  3020.           Now you're ready to run the report.  To see the report
  3021.           in the screen as well as send it to the printer.
  3022.  
  3023.           9    Press Screen (Ctrl-F3), then select Report Display
  3024.                On/Off (7).
  3025.  
  3026.           If you want to see one screen of the report at a time,
  3027.           you can turn on Scroll Lock.  You can then press any key
  3028.           to scroll from one screen to the next as the report runs.
  3029.           If you do not turn on Scroll Lock, the entire report will
  3030.           scroll on-screen without stopping.
  3031.  
  3032.           10   Press Report/Export (Shift-F7) to generate the
  3033.                report.
  3034.  
  3035.           Because only two fields exist in the Items in Stock
  3036.           panel (the name of each item and its price), only these
  3037.           two fields are shown in the built-in short report.
  3038.  
  3039.           Like all DataPerfect reports, built-in short reports
  3040.           also can be sent to disk or just to the screen.
  3041.  
  3042.           11   Press Exit (F7) until you return to the panel
  3043.                list.